summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-05-03 18:02:54 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-05-03 18:02:54 +0200
commit4f642824904851e8a8f225bfb63a5d9737e4abee (patch)
treefaf1b50b1d4b9c41b4eaa3bf70affb981068757b
parentaa23e1ebbee8f7de2e55a972ec9e0b4847f03017 (diff)
downloaddevice_goldelico_gta04-4f642824904851e8a8f225bfb63a5d9737e4abee.zip
device_goldelico_gta04-4f642824904851e8a8f225bfb63a5d9737e4abee.tar.gz
device_goldelico_gta04-4f642824904851e8a8f225bfb63a5d9737e4abee.tar.bz2
init.gta04.rc: Battery poll interval
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--rootdir/init.gta04.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.gta04.rc b/rootdir/init.gta04.rc
index e3d12da..e74ac0e 100644
--- a/rootdir/init.gta04.rc
+++ b/rootdir/init.gta04.rc
@@ -49,6 +49,9 @@ on boot
chown gps gps /sys/class/switch/gps_antenna/state
chmod 0660 /sys/class/switch/gps_antenna/state
+ # Battery
+ write /sys/module/bq27x00_battery/parameters/poll_interval 60
+
on fs
mount_all /fstab.gta04