Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/raw-device-attributes-battery-charging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fingerprint-pro-server-api-openapi': minor
---

**events**: Add `battery_charging` field to `RawDeviceAttributes`
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ properties:
$ref: raw_device_attributes/TimezoneOffset.yaml
battery_level:
$ref: raw_device_attributes/BatteryLevel.yaml
battery_charging:
$ref: raw_device_attributes/BatteryCharging.yaml
battery_low_power_mode:
$ref: raw_device_attributes/BatteryLowPowerMode.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
type: boolean
description: When `true`, the device is currently charging. Available only for web devices on Chromium-based browsers.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ minimum: 0
maximum: 100
examples:
- 75
description: Battery charge level as a percentage (0-100). Available only for Android and iOS devices.
description: Battery charge level as a percentage (0-100). Available for Android, iOS, and web devices. On web, only available in Chromium-based browsers.
Loading