This commit is contained in:
sankalp committed 2025-02-17 21:28:16 +05:45
1 parent f844cedae3
commit a7b24bedbb
3 files changed
+15 -21

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ class BatteryLabel(Box):
battery_percent = round(battery.percent)
self.progress_bar.value = battery_percent / 100
self.show() if battery_percent < 100 else self.hide()
# self.show() if battery_percent < 100 else self.hide()
self.set_tooltip_text(
f"Battery: {battery_percent}%\nStatus: {'Charging' if is_charging else 'Discharging'}"