View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#674
Originally Posted by N9uwu View Post
Originally Posted by ajalkane View Post
I've thought about implementing something like that. But I can't promise when and even if it will come.
any options or possibilities you found out so far? Is it possible to check for the "prestart" state of the main applications?
perhaps the process state itself (R <-> S) can be checked somehow? (using output of ps)? unfortunately /proc/<procID>/state yields permission denied.
I haven't yet looked at it in detail. It'd have to be something event based to get notifications that applications are launched to minimize battery usage. I wouldn't want to poll for the state.

I doubt I have time to look how it could be achieved any time soon. But if anyone has code samples or links to APIs that would be useful, that could speed up things.

PS: thank you for this app! have been using idle & 2G/dual switch for a long time now .
Thanks!
__________________
My N9/N950 projects: