Add tests/batt_mon.sh

This commit is contained in:
2025-09-03 06:44:41 +00:00
parent f72523dacf
commit 37e635dc3e

9
tests/batt_mon.sh Normal file
View File

@@ -0,0 +1,9 @@
while [ 1 ]
do
echo $(date) $(cat /sys/class/power_supply/pm8916-bms-vm/capacity) >> battery.log
sleep 30
done