View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#451
Originally Posted by godofwar424 View Post
What about an activity check on the call-ui process?

If it is consuming x% of CPU then ProfileMatic assumes a call is in progress?

This is assuming that Cal-ui uses a noticeable amount of CPU between Idle and In-call states.
Too hackish for my taste... there must be a better way. I found an API that maybe provides what's needed. Have to test it. If not, maybe there's some dbus interface for it.
__________________
My N9/N950 projects: