| 1   2     3   | Next
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Diablo Update Fixes Battery Drain? (https://talk.maemo.org/showthread.php?t=22796)

frethop 2008-08-13 00:58

Diablo Update Fixes Battery Drain?
 
I have had battery drain issues on my N810 when I flashed to Diablo. It's been frustrating, since it does not appear to be consistent across all user experiences. According to posts here, it happens to many people but not to everyone.

I installed the Diablo update last week (4.2008.30-2). I have had no battery drain problems since! Something must have been fixed ... at least for me.

What has your experience been -- if you had drain issues?

dmilner 2008-08-13 01:54

Re: Diablo Update Fixes Battery Drain?
 
I've noticed the same thing.

GeneralAntilles 2008-08-13 02:07

Re: Diablo Update Fixes Battery Drain?
 
Actually, from what I've been hearing, the update wash pushed mostly for that purpose.

bunanson 2008-08-13 02:08

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by frethop (Post 213103)
...I installed the Diablo update last week (4.2008.30-2)....


How did you find out earlier than anybody else?

bun

frethop 2008-08-13 03:30

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by bunanson (Post 213125)
How did you find out earlier than anybody else?

Oops...I just guessed the date wrong. I got it like everybody else.

st5150 2008-08-13 06:33

Re: Diablo Update Fixes Battery Drain?
 
I too noticed much improved battery life, but it was from a chinook to diablo upgrade.

jnack95 2008-08-13 07:13

Re: Diablo Update Fixes Battery Drain?
 
I have observed something strange recently and I have absolutely no idea if this has been true in past firmware revisions or is related to the power drain issue. When I powered off my n800 last night because the battery was low I had the alarm set. Typically, I wake up 5 minutes before the stupid thing goes off so I didn't worry about it. This morning I woke up as usual and at about 2 minutes before the alarm was set to go off, the N800 actually switched itself on (from a power off state) and the alarm sounded (although not the music file I had previously set). I wonder if the power issue was somehow related to the machine trying to save enough power to allow something like this to happen. And if this is well known or has already been reported than I apologize for wasting your time=)

DataPath 2008-08-13 13:54

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by jnack95 (Post 213192)
I wonder if the power issue was somehow related to the machine trying to save enough power to allow something like this to happen. And if this is well known or has already been reported than I apologize for wasting your time=)

Probably not. Even when your tablet is "fully off", it draws the tiniest trickle of power to keep time. That way when you turn it back on, it still knows what time it is.

The same hardware that is typically used to keep track of time typically also provides the ability to set alarms, and further usually allows the system to be powered on again based on an alarm.

GeneralAntilles 2008-08-13 17:34

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by DataPath (Post 213276)
Probably not. Even when your tablet is "fully off", it draws the tiniest trickle of power to keep time. That way when you turn it back on, it still knows what time it is.

Not "probably", definitely not. It's yet another cool feature of ARM that it can power on quickly and easy to fire off alarms without impacting the power usage idling for them.

jnack95 2008-08-13 17:57

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by DataPath (Post 213276)
Probably not. Even when your tablet is "fully off", it draws the tiniest trickle of power to keep time. That way when you turn it back on, it still knows what time it is.

The same hardware that is typically used to keep track of time typically also provides the ability to set alarms, and further usually allows the system to be powered on again based on an alarm.

I understand that. What I was specifically wondering is: If, in trying to allow the machine enough power to still wake up, boot and start the alarm (which requires significant power from the non-soft-off), the code to shutdown power threshold had been tweaked with to allow this to happen i.e. a virtual power threshold scheme was (improperly) implemented (maybe only if an alarm was active).....or maybe this feature always existed and I only noticed it now. I've alot of trouble with the alarm after upgrading to Diablo (seems to work properly now...maybe too good). Anyway, it doesn't really matter so I'll just stop rambling

GeneralAntilles 2008-08-13 18:00

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by jnack95 (Post 213358)
(which requires significant power from the non-soft-off)

For firing off an alarm, no it doesn't, actually, since the system isn't actually booted.

jnack95 2008-08-14 12:28

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by GeneralAntilles (Post 213360)
For firing off an alarm, no it doesn't, actually, since the system isn't actually booted.


No, it isn't just firing off an alarm (from a ram-suspended state or other). It is turning itself on, from the power OFF state (the one that is safe to take out the battery from), running all of the initscripts, opening the clock or alarm function, and playing a wav. file. Again from the power OFF state. Even, the newbie website has a whole page that states that it saves more power to leave the tablet on than turn it off. All I want to know is if this feature previously existed, or if a phantom is present in my machine?

http://www.tabletscene.com/2008/08/0...g-as-possible/

lemmy 2008-08-15 15:42

Re: Diablo Update Fixes Battery Drain?
 
Back on the thread subject, I experienced a definite shortening of battery life with the original Diablo upgrade. The latest update has lengthened the battery life a great deal, from memory I'd say it is better now than under Chinook.

The whole machine feels snappier too. It's good to know that issues aired here are acted on.

GeneralAntilles 2008-08-15 19:05

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by jnack95 (Post 213639)
No, it isn't just firing off an alarm (from a ram-suspended state or other). It is turning itself on, from the power OFF state (the one that is safe to take out the battery from), running all of the initscripts, opening the clock or alarm function, and playing a wav. file. Again from the power OFF state. Even, the newbie website has a whole page that states that it saves more power to leave the tablet on than turn it off. All I want to know is if this feature previously existed, or if a phantom is present in my machine?

You really don't actually understand what's going on, do you?

Anyway, search around, the feature has been explained in-depth before. Like I said, it's one of those neat things about ARM that you can come out of OFF very quickly to do small things like firing off alarms and then go back down just as quickly.

igor 2008-08-15 19:46

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by GeneralAntilles (Post 214135)
You really don't actually understand what's going on, do you?

Anyway, search around, the feature has been explained in-depth before. Like I said, it's one of those neat things about ARM that you can come out of OFF very quickly to do small things like firing off alarms and then go back down just as quickly.

Well, in case of OMAP2 we are not using dynamic power switching, even if it would be supported. Reason being that it's not worth. So yes, it is really off and it has to boot. In fact after showing the alarm it asks the user if it should stay on or go back to off. We also perform a check on battery level when booting, to verify if it's worth to try to boot or not.

After the alarm has been shown, i found out that the notification was left forever on the screen with back light on. It killed my battery one day that was a bank holiday and i was just too lazy to leave the bed for acking the wakeup alarm.

So i had our alarm guys to fix this behavior.

Hope this helps, but I am not sure I have really understood the original question.

jnack95 2008-08-16 21:39

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by igor (Post 214144)
Well, in case of OMAP2 we are not using dynamic power switching, even if it would be supported. Reason being that it's not worth. So yes, it is really off and it has to boot. In fact after showing the alarm it asks the user if it should stay on or go back to off. We also perform a check on battery level when booting, to verify if it's worth to try to boot or not.

After the alarm has been shown, i found out that the notification was left forever on the screen with back light on. It killed my battery one day that was a bank holiday and i was just too lazy to leave the bed for acking the wakeup alarm.

So i had our alarm guys to fix this behavior.

Hope this helps, but I am not sure I have really understood the original question.

Thanks for the explanation Igor. That clarifies things (for me). Sorry to have misdirected this thread.

benny1967 2008-08-27 07:31

Re: Diablo Update Fixes Battery Drain?
 
I think it's starting again:

While in general the battery lasts longer now after tha last update, there are rare situations when the device shuts down overnight although fully charged.


It's always the same:
  1. I charge the N800 in the afternoon and remove the charger only when the tablet says I should because it's fully charged. (I never shwitch it off for charging, though, I leave it on, incl. WLAN, and just plug in the charger.)
  2. The N800 rests on a table for the rest of the afternoon, online, but not doing anything but checking mails every 30min and updating RSS-feeds. Because I don't use it during this period, the screen is dark.
  3. In the evening, I have a last quick look at the mails and then switch the device to offline mode to save battery. The battery status indicator shows a full battery at this time (not suprising) and I put the tablet back on the table where I'll have breakfast next morning. I would expect it to survive the few hours of sleep I get, and it normally does.
  4. In the morning, when I want to return to normal mode, I see it's off; I can switch it on then, but if I don't plug in the charger very quickly then, it powers down immediately again because the battery's really empty.

The bad thing about it is that this doesn't occur regularly. There are days when the device happily greets me in the morning although the battery was almost empty in the evening. I simply can't tell what triggers it (which annoys me even more than the fact that it's low on battery again).

It would be cool if some of those good-looking, cool guys in here could write a script that writes time, top 3 tasks in terms of CPU-usage, battery status and maybe other useful information to a file every x seconds... Sure this would drain the battery even more, but maybe it helps finding out whats going on?

jem555 2008-08-28 03:17

Re: Diablo Update Fixes Battery Drain?
 
Hi. I own a N800/Diablo/4.2008.30-2 and now I'm experiencing exactly the same. Any help on this? anybody?

RGarrettJr 2008-09-01 21:17

Re: Diablo Update Fixes Battery Drain?
 
Same problem - unpredictable battery life and/or indication; sometimes it drains over night regardless of state while other times it shows roughly the same battery life in the AM as previous PM. Also, battery indicator not very reliable - it can show mostly full with many hours of use remaining but after a reset due to some system crash show virtually no battery life left at all.

Lord Raiden 2008-09-01 21:58

Re: Diablo Update Fixes Battery Drain?
 
Sounds like something's getting in a loop and pegging the CPU, thus draining the battery.

Benson 2008-09-01 22:35

Re: Diablo Update Fixes Battery Drain?
 
Hmmm... this past weekend I got it too. And it seems to be recurring rather constantly... The odd thing was, I caught it with the battery drained to 7 hours (standby), the back cover was hot, but there were no processes running with over 4 minutes of CPU time (Xomap and hildon-desktop were about tied at that). So whatever is the problem seems to exit when I wake the tablet?

Quote:

Originally Posted by benny1967 (Post 218042)
It would be cool if some of those good-looking, cool guys in here could write a script that writes time, top 3 tasks in terms of CPU-usage, battery status and maybe other useful information to a file every x seconds... Sure this would drain the battery even more, but maybe it helps finding out whats going on?

I can't judge about good-looking and cool, but here's a script anyway:
Code:

#!/bin/sh
LOGFILE=/media/mmc2/powerlog
DELAY=60
PROCCOUNT=3


LINECOUNT=`expr $PROCCOUNT + 3`
date '+***Logging start: %F %T' >>$LOGFILE
while true; do
  [ -x /usr/bin/battery-status ] && /usr/bin/battery-status >>$LOGFILE
  date '+%F %T' >>$LOGFILE
  top -bn1 |head -n$LINECOUNT >>$LOGFILE
done

Actually, if you have battery-status installed, you can run it with -d1 to see the battery status every minute, but that doesn't get you a processes. Also, if you want to prune the header info from the top report, you can use this version:
Code:

#!/bin/sh
LOGFILE=/media/mmc2/powerlog
DELAY=60
PROCCOUNT=3


LINECOUNT=`expr $PROCCOUNT + 3`
date '+***Logging start: %F %T' >>$LOGFILE
while true; do
  [ -x /usr/bin/battery-status ] && /usr/bin/battery-status >>$LOGFILE
  date '+%F %T' >>$LOGFILE
  top -bn1 |head -n$LINECOUNT |tail -n+4 >>$LOGFILE
done


Grayman 2008-09-02 18:56

Re: Diablo Update Fixes Battery Drain?
 
Me too with my N800 :(
I notice occasional warm back, drained battery. Friday night it was left on charge over night but reported only 1-hour life in the morning. Power-off and restarted and I was able to charge it normally and the back cooled off. There were no applications running (only OMWeather and RSS feeder applets both set to manual update), off-line mode. I have no alarms set.

Seems to me like some hardware is not shut down properly or tries to start up (e.g. for polled connection - s/w updates?) but is not visible due to it being disabled. The only possible devices I can think of are:
WiFi (used daily)
Bluetooth (not used recently, but enabled when on-line)
DSP (used occasionally)
FM Radio (not used for ages unless MediaBox has turned it on despite me not going to that feature)
Camera (not popped out and no picture apps used for ages)
Battery

Is there any way of monitoring if these things are enabled?
What hardware is near the rear behind where the D-pad is?

Just some ponderings,

Graham.

Laughing Man 2008-09-04 15:17

Re: Diablo Update Fixes Battery Drain?
 
Hmm, I had turned off my n800 the night before (left my charger at College Park) so I decided to conserve the battery. Turned it back on today and there was less then one hour of charge remaining.. (WTF?)

Texrat 2008-09-04 15:24

Re: Diablo Update Fixes Battery Drain?
 
I have also seen shortened life. I will report this, but it may be difficult to quantify...

tso 2008-09-04 15:38

Re: Diablo Update Fixes Battery Drain?
 
i cant say for sure, but i seem to have observed that while it takes a nice long time to show less the full battery on the graphical indicator, it will drop very quickly when it starts showing less then full.

and if it starts complaining about being near empty, no chance of leaving it over night with screen locked and all connections off.

geneven 2008-09-04 15:46

Re: Diablo Update Fixes Battery Drain?
 
I have noticed this sort of thing also. I simply put in a different cheap Hong Kong battery and am back in business, so I don't pay much attention.

Texrat 2008-09-04 16:04

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by tso (Post 220833)
i cant say for sure, but i seem to have observed that while it takes a nice long time to show less the full battery on the graphical indicator, it will drop very quickly when it starts showing less then full.

and if it starts complaining about being near empty, no chance of leaving it over night with screen locked and all connections off.

Once the bar gets down to about 25% for me, it can plunge pretty quickly to red. The graph does not appear scaled to the actual life left.

I've also seen it show 50% availability, but the tablet start acting oddly (screen refusing input for one)... after a reboot, the battery graphic then only has a thin red line.

tso 2008-09-04 16:21

Re: Diablo Update Fixes Battery Drain?
 
so all in all, that indicator in the corner is less the useful when trying to approximate how much time one have left before the device will power down?

Texrat 2008-09-04 16:54

Re: Diablo Update Fixes Battery Drain?
 
It can be, yes.

prk60091 2008-09-04 19:36

Re: Diablo Update Fixes Battery Drain?
 
and i thought it was my imagination...
i am not a developer or even a linux guru-but a "mechanic" this is my anecdotal evidence

something has been eating my power like nobodies business in the recent past.... it seemed like when i closed the slider the unit would not "lock" i then kept remembering to slide the lock key at top and that worked some of the time.... i tried something which seems to have worked in conjunction with sliding the lock key- i removed all of my desktop applets (i was using google search and omweather along with gpe summary ) and my battery drain seems to have stopped...

am i the only person who has auto-lock installed on diablo who has this issue??

geneven 2008-09-04 19:47

Re: Diablo Update Fixes Battery Drain?
 
That indicator is more or less completely useless, in my experience. I have seen it go from full to out of power in 20 seconds. It seems to extrapolate from how much power you've been using recently to how much you have left. So, if you have been sitting idle, it estimates that you have enough to keep going at that rate, but if you are actually trying to use it for something, the estimate is irrelevant.

westdene 2008-09-04 19:48

Re: Diablo Update Fixes Battery Drain?
 
Ive been experiencing too a drain of the battery in my N800 running Diablo. But not before a couple of days ago. I have my N at my office from 10am to 8pm with the charger connected (and obviously charging). However, I was on my way back home last night and watching some vids downloaded with myTube (its a 45 minutes ride) and then stashed my N in my backpack until this morning when I tried to get my emails when I saw that the battery was all gone. (Ive watched vids before and even movies on mplayer and never had that battery problem)
Batterry-satus wont work in my N (incompatible).:(
One simple idea that crossed my mind was to uninstall fm radio, since I thought that even though no earphones are attached to the device the fm function in the N keeps working (correct me if I'm wrong) in case of an accidentally activation of the play button in the fm radio applet.
Just my 2 cents.

Snoshrk 2008-09-04 20:28

Re: Diablo Update Fixes Battery Drain?
 
I am also experiencing this seemingly random battery drain. I thought I had a solution working...putting my N800 into SoftPowerOff when not on the charger. Unfortunately, after some moderate-heavy surfing yesterday and SPOff overnight I found my Nit OFF this morning and had to plug in the charger to boot up.

Applets running:

GPE Summary
IPStrength
OMWeather
Personal Launcher

Up to date Diablo cloned to internal SD.

I keep the N800 plugged in all day(at work) as I am using it to run Portable Apps (Ceedo) from the external SD slot.

Laughing Man 2008-09-04 21:25

Re: Diablo Update Fixes Battery Drain?
 
I still don't understand how the battery can drain that much from being completly shutdown. The device isn't even on. It's completly off.

tso 2008-09-04 21:25

Re: Diablo Update Fixes Battery Drain?
 
is the a big diff between softoff and just locking the device?

Benson 2008-09-04 22:20

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by tso (Post 220990)
is the a big diff between softoff and just locking the device?

It's pretty configurable, but it's the same as locking the device and, maybe, depending on settings, going to offline mode.

Frank Banul 2008-09-04 22:28

Re: Diablo Update Fixes Battery Drain?
 
Good, it's not just me. I've had dead batteries in the morning for no apparent reason (charge showed days of idle). It appears to be independent of being connected to wifi or not.

Modest was active checking a gmail imap account. IM was logged in to jabber, yahoo, and aim. Home applets: clock, internet search, omweather (0.20.6), speedcontacts. I usually leave a browser minimized sitting on google reader for advanced mobile devices (www.google.com/reader/i).

I'm on the latest OS version.

Frank

tso 2008-09-04 22:44

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by Benson (Post 221008)
It's pretty configurable, but it's the same as locking the device and, maybe, depending on settings, going to offline mode.

and where do one configure this?

Benson 2008-09-04 22:48

Re: Diablo Update Fixes Battery Drain?
 
/etc/mce/mce.ini

tso 2008-09-04 23:04

Re: Diablo Update Fixes Battery Drain?
 
Quote:

Originally Posted by Benson (Post 221016)
/etc/mce/mce.ini

oh, crap, i was afraid of that ;)


| 1   2     3   | Next
All times are GMT. The time now is 21:06.

vBulletin® Version 3.8.8