added batmon for logging battery curve
not sure what I'm going to do with that info though
This commit is contained in:
parent
ba35e73964
commit
2cc36b97d5
2 changed files with 17 additions and 5 deletions
8
skeleton/.system/rg35xx/paks/MinUI.pak/batmon.sh
Executable file
8
skeleton/.system/rg35xx/paks/MinUI.pak/batmon.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
touch /mnt/sdcard/batmon.txt
|
||||
while :; do
|
||||
echo `cat /sys/class/power_supply/battery/capacity` `cat /sys/class/power_supply/battery/voltage_now` `date` >> /mnt/sdcard/batmon.txt
|
||||
sync
|
||||
sleep 5
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue