View Single Post
rooster13's Avatar
Posts: 319 | Thanked: 221 times | Joined on Jan 2010 @ Finland
#825
I succesfully solved the sudden battery drop with this piece of script:
Code:
#!/bin/sh

echo rootme | devel-su -c "/sbin/stop bme"
sleep 10;
echo rootme | devel-su -c "/sbin/start bme"

exit 0;
But now how to run this when the drop occurs? There is no battery percentage check in ProfileMatic.

Any chance getting it there?
Since this only works when the drop is in effect, does nothing if you run it before the drop occurs.

I also tested the restart bme and that did not seem to work.
__________________
Sail Raid, an old skool shoot'em up for Jolla
KillDroid, Android service killer for Jolla
goViihde, an Elisa Viihde client for Jolla
goViihde, an Elisa Viihde client for N9
Shortcut Stash Home Screen Widget
 

The Following 6 Users Say Thank You to rooster13 For This Useful Post: