View Single Post
knobtviker's Avatar
Posts: 665 | Thanked: 2,388 times | Joined on Feb 2012 @ Zagreb, Croatia
#679
Originally Posted by ajalkane View Post
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.



Thanks!
You can hook on DBUS signal NameOwnerChanged and set to 3G if not previously already on 3G.
However, in my tests it was found that this approach works, but not really nice with incoming calls.
Lockscreen deactivates and Profilematic (does it's job) switched to 3G in upcoming conversation.
Connection dropped. :P