Active Topics

 


Reply
Thread Tools
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1321
Well then thanks for all your help, but I quit my attempt at this point.

Oh, and Schturman, please do yourself and op a favor and update the post you refer to with "Open mode or Inception REQUIRED!" in order to avoid the same stupid questions from noobs over and over again. If I had known in first place, I wouldn't even have tried this.
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member

Last edited by Win7Mac; 2013-05-17 at 14:15. Reason: not mad anymore > removed smileys ;-)
 

The Following User Says Thank You to Win7Mac For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1322
Just experienced the battery drop to 4% (happens always now when battery is <15% on a call ) but despite having applied (strictly following) the recipe (only diff: min=3%, max=5%), it didn't kick in.
After the call (battery still on 4%), I opened PM and the rule appeared as active (blue bar). Opened it and hit "Test" and only then battery level refreshed.
Any ideas on this?

Also wouldn't it make sense to put a 2nd condition "Charging state > Not charging"? At least it can't hurt, right?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1323
Originally Posted by Win7Mac View Post
Just experienced the battery drop to 4% (happens always now when battery is <15% on a call ) but despite having applied (strictly following) the recipe (only diff: min=3%, max=5%), it didn't kick in.
After the call (battery still on 4%), I opened PM and the rule appeared as active (blue bar). Opened it and hit "Test" and only then battery level refreshed.
Any ideas on this?
In my tests the restoring of battery level seemed to be extremely sensitive to the delays in the script between stop bme/start bme. The examples in the recipe were for values I found working and are quite conservative. Ie. the longer the delay between restarting bme the more likely it seemed to work.

However even with these delays it occasionally, but very seldom, fails to restore the battery level. I suggest you to test it for a while before doing changes. But you can experiment with longer delays if it doesn't seem to work.

Also wouldn't it make sense to put a 2nd condition "Charging state > Not charging"? At least it can't hurt, right?
Won't hurt. I don't see the sense in that IMO, but it shouldn't hurt .
__________________
My N9/N950 projects:
 

The Following User Says Thank You to ajalkane For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1324
Originally Posted by ajalkane View Post
...you can experiment with longer delays if it doesn't seem to work.
Many thanks, will try that.

Originally Posted by ajalkane View Post
Won't hurt. I don't see the sense in that IMO, but it shouldn't hurt .
The sense would be that restarting bme while charging is generally a bad idea I think. And it could in fact happen when you put the charger to your phone with nearly or completely drained battery.
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 

The Following User Says Thank You to Win7Mac For This Useful Post:
Posts: 1,313 | Thanked: 2,977 times | Joined on Jun 2011 @ Finland
#1325
Originally Posted by Win7Mac View Post
Many thanks, will try that.


The sense would be that restarting bme while charging is generally a bad idea I think. And it could in fact happen when you put the charger to your phone with nearly or completely drained battery.
Good point - I have no idea if that can cause a problem or not. Has anyone tested this potentially bad idea if it causes some problems?
__________________
My N9/N950 projects:
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#1326
You also can use it with one line command (without scripts)
Code:
sh -c "echo root | devel-su -c '/sbin/initctl stop bme && sleep 10 && /sbin/initctl start bme'"
Change "root" to your root pass. Change "10" to another number that you want 15 or 20 etc...
 

The Following User Says Thank You to Schturman For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1327
^ Is that any different then doing it via script?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
lorenzo's Avatar
Posts: 491 | Thanked: 299 times | Joined on Jul 2012 @ Pordenone IT
#1328
Originally Posted by ajalkane View Post
Good point - I have no idea if that can cause a problem or not. Has anyone tested this potentially bad idea if it causes some problems?
yes, i tryed by mistake once: discharging in 6 hours in idle mode, after recharging problem disappear and never faced that issue again
 

The Following User Says Thank You to lorenzo For This Useful Post:
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#1329
Originally Posted by ajalkane View Post
Good point - I have no idea if that can cause a problem or not. Has anyone tested this potentially bad idea if it causes some problems?
I've switched on my phone a number of times at 4% and plugged the charger. Since profilematic's daemon needs time to start it doesn't interfere with my 4-8% rule. On the two occassions it did restart bme, the battery charge before and after the restart was the same.

IMO, it isn't really necessary to add a "Not Charging" condition for this. OTOH, one can add in the script/recipe an additional line to check if the phone is plugged in or not hence achieving the same goal
 

The Following 3 Users Say Thank You to thedead1440 For This Useful Post:
Win7Mac's Avatar
Community Council | Posts: 664 | Thanked: 1,648 times | Joined on Apr 2012 @ Hamburg
#1330
Originally Posted by thedead1440 View Post
IMO, it isn't really necessary to add a "Not Charging" condition for this. OTOH, one can add in the script/recipe an additional line to check if the phone is plugged in or not hence achieving the same goal
I'll do it, just to be on the safe side.

Is there any benefit in using Schturmans' command instead of the script (besides not getting the notifications)?
__________________
Nokia 5110 > 3310 > 6230 > N70 > N9 BLACK 64GB
Hildon Foundation Board member
Maemo Community e.V. co-creator, founder and director since Q4/2016
Current Maemo Community Council member
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:03.