Reply
Thread Tools
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#961
Originally Posted by mdbxh View Post
look
Code:
BMEVENT_BATMON
BMEVENT_BATMON
HarmattanPlatformUtil::_emitRealIdle: a(0) c(0) i(0)
And there was no more lines logged after you again connected to internet? What connection did you make, WLAN connection again or mobile connection?
__________________
My N9/N950 projects:
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#962
Originally Posted by timox View Post
The last update (to 1.8.1) broke something on my system. Everything worked fine before the last update. I have the following rules in the following order:

1. Bluetooth off when on WLAN
2. Bluetooth on when 15.00-17.00 mon-thu
3. Bluetooth on when 6.00-7.00 mon-thu
4. Bluetooth on when 17.00-23.00 mon-fri
5. Ringing when 7.00-23.00 mon-fri
6. Ringing when 9.00-23.00 sat-sun
7. Silent when 23.00-7.00 All days

Everything else works fine, but the rule #3 does not get activated. So the bluetooth will remain off every morning. For example rule #2 works fine. I leave home before 6:00 so the WLAN is not visible after 6:00. When I get to my office at 7:00 where get the WLAN, everything works fine even if I have switched the bluetooth on manually earlier.

When I open the Profilematic between 6:00 and 7:00, I can see that rules #3 and #7 are active (the blue line is shown). If I manually deactivate all rules and activate them again, the bluetooth will switch on and rules #3 and #7 have the blue line again.

How come this does not work automatically?
It should work. And I don't remember doing any changes to 1.8.1 that would have an effect. Can you get me the logs when this problem happens from around 12am - 8am?
__________________
My N9/N950 projects:
 
Posts: 92 | Thanked: 19 times | Joined on Apr 2012 @ China
#963
Originally Posted by ajalkane View Post
And there was no more lines logged after you again connected to internet? What connection did you make, WLAN connection again or mobile connection?

will it autoclose?
i wait for a loog time then i close it

Use WLAN all the time
and close/connetcion net all use unrestricted-system-ui
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#964
Originally Posted by mdbxh View Post

will it autoclose?
i wait for a loog time then i close it

Use WLAN all the time
and close/connetcion net all use unrestricted-system-ui
From the logs I saw:

14:11:39 you were connected to WLAN.
14:12:36 WLAN was disconnected, and power saving mode activated
14:15:01 This is the last timestamp I see in the logs

Did you reconnect back to WLAN between 14:12 - 14:15 ? If you did, ProfileMatic did not get any notification of it. This can be a bug in N9 libraries, in which case I can't fix it. I'll have to try myself with power saving on in WLAN if I get the same issue.
__________________
My N9/N950 projects:
 
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#965
The new calendar rule is really cool. Had a dentist appointment today and my PM 1.9.1 equipped phone kept quiet for the duration and returned to ringing right after. Excellent work, as usual.

Now to just get the same keyword matching for alarms...
 

The Following User Says Thank You to slarti For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#966
I have updated the "Fixing sudden drop of battery level to 4%" recipe. In short, my findings are that it works reasonably well with 10s wait before start and stop.
__________________
My N9/N950 projects:
 

The Following 3 Users Say Thank You to ajalkane For This Useful Post:
Posts: 397 | Thanked: 185 times | Joined on Oct 2011
#967
Originally Posted by bibek View Post

for those who'd like to know the code for custom action:

Code:
sh -c "rm /home/user/.cache/data/twitter/twcache*"
Repeat it daily, preferably when you sleep at night.

You might wanna link this to first post. It'll help quite a few people
curious why enter sh -c, shouldn't "rm /home/user/.cache/data/twitter/twcache*" be sufficient?
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#968
Originally Posted by mdbxh View Post
version 1.9
bug:
1.set a rule "power saveing on when no net connection"
2.the rule will runnin all the time
I can now confirm your find.

When power saving mode is on, there is no notification of internet connection being obtained.

This is a bug in the N9 platform/APIs.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#969
Originally Posted by kai_en View Post
curious why enter sh -c, shouldn't "rm /home/user/.cache/data/twitter/twcache*" be sufficient?
No, because there is that "*". This is a wildcard, and it's evaluation needs a shell. So "sh -c" is used to run the command in the shell, which expands the "twcache*" into all the files that match the wildcard.

So in reality the command becomes something like:

Code:
rm /home/user/.cache/data/twitter/twcache.db /home/user/.cache/data/twitter/twcache.dat1 /home/user/.cache/data/twitter/twcache.dat2
I have for quite a while now thought that I should add to ProfileMatic an option (which would by default be on) to run the custom action in shell so that you don't need to add "sh -c". Most people assume custom action behaves like a shelll, and many people who use shell quite comfortably are not really aware of the shell expansion rules.

But this is something that I don't have time for a while.
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post:
Posts: 92 | Thanked: 19 times | Joined on Apr 2012 @ China
#970
Originally Posted by ajalkane View Post
I can now confirm your find.

When power saving mode is on, there is no notification of internet connection being obtained.

This is a bug in the N9 platform/APIs.
bad news
thanks very much
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:28.