Reply
Thread Tools
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#11
Originally Posted by Matan View Post
Did you use hostmode? is BME running? I think BME is responsible for shutting down when battery level is low, so when it is not running, you don't have that protection.
No, not using hostmode yet.
BME? Don't know about it. I didn't stop it but also didn't take care if it's running.
...
Code:
ps ax|grep bme
shows
Code:
/usr/sbin/bme_RX-51
/usr/lib/hal/hald-addon-bme
Is it that?
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#12
Thing is, the actual shutdown stuff is based on voltage. If you ever look at battery-eye's voltage logs, you will see the voltage all over the place during normal usage. The "percentage" is just a rough estimate, barely more than a guess based on current use and voltage.

This also means that if you use your n900 heavily until it shuts off, the voltage will have been pushed lower than "normal" by the heavy usage; letting it sit before powering it on will give ot a chance to recover a bit and go back over the poweroff threshold.

To use a different metaphor, it's like a car battery: crank the engine until it stops turning over, wait for 10 minutes and you'll be able to get some more cranking out of it.
Run it dead with a smaller load - like leaving your headlights on - and you probably won't.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#13
bme_RX-51 is bme. If you did not stop it and did not run hostmode which stops it, it is probably running. Do you know how the widget finds the remaining capacity? From hal, which is the value that BME uses, or directly from the hardware?
__________________
My repository

"N900 community support for the MeeGo-Harmattan" Is the new "Mer is Fremantle for N810".

No more Nokia devices for me.
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#14
To sum this up:
The phone shuts off at 3.3V on the battery
The battery manager you refer to is not that accurate, it says 0% at about 3.6V
In mine i use a custom "script" for QBW
Code:
hal-device | grep voltage.current | awk '{printf "%1.3fV - %3.0f", $3/1000,($3-3300)/9}{print "%"}'
with this "script" the phone turns off seconds after it shows 0%

At 3.3V the battery is about empty, if you where to use it after this it would be a matter of minutes before it would hit 2.0V and that will kill the battery completely.
But luckily the phone has a batt manager that shuts it off at 3,3V, and the battery has a circuit that shuts it off at 3.0V.

Last edited by dr_frost_dk; 2010-11-11 at 13:31.
 

The Following 2 Users Say Thank You to dr_frost_dk For This Useful Post:
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#15
Originally Posted by Matan View Post
bme_RX-51 is bme. If you did not stop it and did not run hostmode which stops it, it is probably running. Do you know how the widget finds the remaining capacity? From hal, which is the value that BME uses, or directly from the hardware?
It's the standard script from DCEW:
Code:
hal-device bme | awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc "%"} else {print "Chrg"}'
 
Posts: 539 | Thanked: 165 times | Joined on Feb 2010 @ Berlin, Germany
#16
Originally Posted by dr_frost_dk View Post
To sum this up:
The phone shuts off at 3.3V on the battery
Tthat's quite the answer I was looking for. So it's voltage-triggered and for best watching the status I'll add current voltage to desktop.
Thanks!
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#17
glad to help

try the code i submitted then you will know when it dies.
there is just one thing, 3.5 to 3.3 volts goes quite fast, witch you can see when looking at the capacity graph for litium batterys.
since im one off those EV freaks, i know first hand to what to do and what not to do with litium batterys.
 
Reply


 
Forum Jump


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