Skip to content

Commit

Permalink
Add more keys to battery (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Oct 23, 2024
1 parent ea0ac4f commit 5bb6eaa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion features/battery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ status:
compat_features:
- api.BatteryManager
- api.BatteryManager.charging
- api.BatteryManager.chargingchange_event
- api.BatteryManager.chargingTime
- api.BatteryManager.chargingchange_event
- api.BatteryManager.chargingtimechange_event
- api.BatteryManager.dischargingTime
- api.BatteryManager.dischargingtimechange_event
- api.BatteryManager.level
- api.BatteryManager.levelchange_event
- api.BatteryManager.secure_context_required
- api.Navigator.getBattery
- api.Navigator.getBattery.secure_context_required
8 changes: 8 additions & 0 deletions features/battery.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,11 @@ compat_features:
# edge: "79"
- api.BatteryManager.chargingTime
- api.BatteryManager.dischargingTime

# baseline: false
# support:
# chrome: "103"
# chrome_android: "103"
# edge: "103"
- api.BatteryManager.secure_context_required
- api.Navigator.getBattery.secure_context_required

0 comments on commit 5bb6eaa

Please sign in to comment.