Add tests/batt_mon.sh
This commit is contained in:
9
tests/batt_mon.sh
Normal file
9
tests/batt_mon.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
while [ 1 ]
|
||||
|
||||
do
|
||||
|
||||
echo $(date) $(cat /sys/class/power_supply/pm8916-bms-vm/capacity) >> battery.log
|
||||
|
||||
sleep 30
|
||||
|
||||
done
|
Reference in New Issue
Block a user