|
2012-08-22
, 11:34
|
Posts: 1,397 |
Thanked: 2,126 times |
Joined on Nov 2009
@ Dublin, Ireland
|
#672
|
You're not missing anything. With 1.7.0 it should just basically work. Inception could of course interfere, but I don't think that's it.
There's ways to debug it. First of all you can try manually from command line to use the separate exe:
It's important to use the invoker command.Code:invoker --type=m /opt/profilematic/bin/platformutil flightMode On
If that doesn't work, check the file at
Find profilematic's entries. The important bit is this:Code:/var/lib/aegis/restok/restok.conf
Let me know.Code:Object: applauncherd-launcher::/usr/bin/applauncherd.bin Request: AID::.profilematic. mce::DeviceModeControl
|
2012-08-22
, 13:58
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#673
|
Yes indeed I should check that PSM is improving the situation. I actually put my phone on PSM after 5mn iddle (thanks to your app) and even not sure now, I do not think it helps enough.
If wifi off is not possible (that was possible for the N900 i think but a less restrictive phone for such features), do you think that the fact that a 'known' wifi network can be either automatically connected or manually connected is helping and could be implemented in your app?
|
2012-08-22
, 14:04
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#674
|
Originally Posted by ajalkaneany options or possibilities you found out so far? Is it possible to check for the "prestart" state of the main applications?I've thought about implementing something like that. But I can't promise when and even if it will come.
perhaps the process state itself (R <-> S) can be checked somehow? (using output of ps)? unfortunately /proc/<procID>/state yields permission denied.
PS: thank you for this app! have been using idle & 2G/dual switch for a long time now .
|
2012-08-22
, 14:21
|
Posts: 343 |
Thanked: 819 times |
Joined on Jan 2010
@ Paris, France
|
#675
|
Does it help at all? How often it stutters with and without PSM? I'd like to understand this a bit better to know if anything can be done about it. If I've understood it correctly the stuttering happens because of scanning of WLAN access points?
I'm not sure. If it's the automatic scanning of WLANs that's causing it, that won't help.
But there is a value in gconf that you might try to change:
/system/osso/connectivity/network_type/search_interval
By default it is 300, which I guess is in seconds (5 minutes). Does this match the interval with stuttering bluetooth? You could try changing it if so. If that helps, it's easy to make Custom Action to ProfileMatic to change that upon some conditions.
The Following User Says Thank You to P@t For This Useful Post: | ||
|
2012-08-24
, 13:23
|
Posts: 33 |
Thanked: 28 times |
Joined on Jun 2012
|
#676
|
The Following User Says Thank You to Diggler For This Useful Post: | ||
|
2012-08-24
, 15:17
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#677
|
Ajalkane, what a great work you have done! You have been around for almost a year improving, listening and answered almost every question. I'm impressed.
I installed your app yesterday and tried the PSM mode during 23:00 - 07:00 together with lowering ring profile to 40%. Morning after the phone was dead and phone had about 30% of battery when I got to bed. But I haven't seen such reports in the thread so it might been something else.
I have one question just to see if I have misunderstood how the rules works. I tried
15:00 - 15:05:
availability on (previously off) Restore profile
bluetooth on (previously off) Restore profile
Ring profile 100% (previously 40%) Restore profile
No default rule configured
No other rules active
Outcome is that it turns on FB at 15 and off at 15:05, same with BT. But ring profile remains at 100%. I have tried several times but it doesn't restore previous ring profile.
|
2012-08-24
, 16:52
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#678
|
Outcome is that it turns on FB at 15 and off at 15:05, same with BT. But ring profile remains at 100%. I have tried several times but it doesn't restore previous ring profile.
|
2012-08-24
, 17:39
|
|
Posts: 665 |
Thanked: 2,388 times |
Joined on Feb 2012
@ Zagreb, Croatia
|
#679
|
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!
|
2012-08-24
, 19:55
|
Posts: 1,313 |
Thanked: 2,977 times |
Joined on Jun 2011
@ Finland
|
#680
|
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
[QUOTE=ajalkane;1244878]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.
PS: thank you for this app! have been using idle & 2G/dual switch for a long time now .