This commit is contained in:
Ishaan Bhimwal 2022-07-21 11:37:33 +05:30
parent 39f7ad9a75
commit a5fbc73c44
16 changed files with 32 additions and 32 deletions

View file

@ -68,7 +68,7 @@ class UPowerManager:
isPresent = battery_proxy_interface.Get(
self.UPOWER_NAME + ".Device", "IsPresent"
)
isRechargable = battery_proxy_interface.Get(
isRechargeable = battery_proxy_interface.Get(
self.UPOWER_NAME + ".Device", "IsRechargeable"
)
online = battery_proxy_interface.Get(self.UPOWER_NAME + ".Device", "Online")
@ -128,7 +128,7 @@ class UPowerManager:
"HasHistory": hasHistory,
"HasStatistics": hasStatistics,
"IsPresent": isPresent,
"IsRechargeable": isRechargable,
"IsRechargeable": isRechargeable,
"Online": online,
"PowerSupply": powersupply,
"Capacity": capacity,