Copy the zip into MyDocs Open a terminal Code: unzip MyDocs/updatehal.zip chmod +x i2cget
unzip MyDocs/updatehal.zip chmod +x i2cget
Open a terminal Code: sudo gainroot sh updatehal.sh
sudo gainroot sh updatehal.sh
Now, don't get me wrong, but wasnt it already achieved, when using all 4 packages of Pali's BME replacement, + Pali's replacement battery applet, modified by kerio? I'm definitely using bq2415x for charging, and bq27x00_battery for gathering data - it's auto-loading on my device boot. I'm also definitely using bme replacement. Now, all my charging leds patterns, notifications, etc are working OK; without using custom scripts.