Skip to content

Commit 497ad9f

Browse files
committed
Add new charging limit action
1 parent 00fd3eb commit 497ad9f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

actions/device.cherri

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ action v16.2 'getbatterylevel' isCharging(): bool {
7272
"Subject": "Is Charging"
7373
}
7474

75+
// [Doc]: [Battery] Charge Limit: Determines if the device is currently charging.
76+
action v26 'getbatterylevel' getChargeLimit(): number {
77+
"Subject": "Charge Limit"
78+
}
79+
7580
enum deviceUsageType {
7681
'all',
7782
'app',

0 commit comments

Comments
 (0)