View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#796
Originally Posted by Lucazz990 View Post
Hi guys, I'm looking for a solution for the problem of the battery jumping randomly to 4%... is it possible to run as root the command /sbin/stop bme and then /sbin/start bme as custom action in Profilematic? It would be great if this works for example with a nfc tag instead of reboot!
ProfileMatic runs as user. So if you need some custom action to run as "root", you'll need to figure out how to invoke the command from script using "devel-su". I seem to remember it's possible, but I don't remember the details.
__________________
My N9/N950 projects: