From 37e635dc3e2f31628544d2cc6db4f154f88652c1 Mon Sep 17 00:00:00 2001 From: smallsolar Date: Wed, 3 Sep 2025 06:44:41 +0000 Subject: [PATCH] Add tests/batt_mon.sh --- tests/batt_mon.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/batt_mon.sh diff --git a/tests/batt_mon.sh b/tests/batt_mon.sh new file mode 100644 index 0000000..d0586fd --- /dev/null +++ b/tests/batt_mon.sh @@ -0,0 +1,9 @@ +while [ 1 ] + +do + +echo $(date) $(cat /sys/class/power_supply/pm8916-bms-vm/capacity) >> battery.log + +sleep 30 + +done \ No newline at end of file