✨ feat(dock, components, battery): add BatteryPopup with power profile switcher and battery info

This commit is contained in:
sankalp committed 2025-07-11 02:42:37 +05:45
1 parent 6fb96214d0
commit 3a6e8e20a5
3 files changed
+512 -147

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ class Battery(Service):
@Property(str, "readable")
def capacity(self):
return f"{self._battery.Capacity}%"
return f"{int(self._battery.Capacity)}%"
@Property(bool, "readable", default_value=False)
def is_present(self):