From 25b2465ea9c1f9f5941545d411009b2533dff3f2 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Thu, 18 Apr 2024 22:36:06 +0100 Subject: [PATCH] Add battery health script --- scripts/battery-health.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/battery-health.sh diff --git a/scripts/battery-health.sh b/scripts/battery-health.sh new file mode 100644 index 00000000..76dbea70 --- /dev/null +++ b/scripts/battery-health.sh @@ -0,0 +1 @@ +upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep "capacity:"