maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   Battery almost empty after 5 hours with locked N810 (https://talk.maemo.org/showthread.php?t=21736)

vinc17 2008-07-09 15:12

Battery almost empty after 5 hours with locked N810
 
As usual, my N810 charged during the night and I took it in the morning; it was fully charged. But after about 5 hours, when I took my N810 out of my pocket, it was quite hot and the battery was almost empty! This is surprising as I didn't have any problem the previous days. The CPU indicator was saying the N810 was idle. I only had two open applications:
  • X Terminal (with no running jobs in it). This is not the first time (I use X Terminal very often). So, I doubt this is the problem.
  • Notes (perhaps the first time I let it open under diablo).
Also, no wifi, no bluetooth. Any idea? Could there be a problem with some software taking CPU time only when the tablet is locked?

Bundyo 2008-07-09 15:13

Re: Battery almost empty after 5 hours with locked N810
 
Modest likes to eat CPUs for breakfast...

Naah, with no network probably something else.

GeneralAntilles 2008-07-09 15:18

Re: Battery almost empty after 5 hours with locked N810
 
I'm going to call it a corrupt internal card!

But seriously, this has been covered a thousand and one times already. Please use the search first. :)

vinc17 2008-07-09 15:52

Re: Battery almost empty after 5 hours with locked N810
 
I don't use Modest (I read e-mail only via ssh). Concerning a possibly corrupt internal card, I've search for "corrupt" in the FAQ, and got... nothing! How can I check whether it is corrupt? I haven't got any error message and things like that, and I haven't found any error in dmesg output, and nothing during these 5 hours:
Code:

[726568.250000] EAC mode: play enabled, rec enabled
[726570.875000] EAC mode: play disabled, rec disabled
[726602.132812] DSP Pausing failed, skipping OP change!
[726607.804687] slide (GPIO 110) is now closed
[726609.875000] kb_lock (GPIO 102) is now closed
[726610.218750] kb_lock (GPIO 102) is now open
[745790.140625] slide (GPIO 110) is now open


GeneralAntilles 2008-07-09 15:58

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by vinc17 (Post 200925)
I've search for "corrupt" in the FAQ, and got... nothing!

Er, FAQ?

http://tabletschool.blogspot.com/200...d-on-n810.html

lcuk 2008-07-09 16:04

Re: Battery almost empty after 5 hours with locked N810
 
I get this on occasion - sit with it charging whilst messing on the computer of an evening, then disconnect and goto bed - i disconnect wifi everynight because i *know* thats a problem with me personally.

Random mornings I have woken up and its dead.

There is a process running amock and eating CPU for breakfast, its not being killed by the watchdogs or anything.
And its not a corrupt card issue because it would be a problem all the time.

I've attempted to run top in the past and log output but it doesnt seem too good for the purpose (it could be a low but constant cpu munching, or not cpu at all, maybe wifi chip or BT chip or gps internals or something).

My best guess would be an application run earlier in the evening didnt cleanup and close everything expected which caused the drain.

Further investigation would require the oprofile kernel flags to be set (or built and flashed) and actually monitor whats happening overnight.

Lots of work though for a random rare (but annoying) occurrence.

zehjotkah 2008-07-09 16:05

Re: Battery almost empty after 5 hours with locked N810
 
same here, flashed diablo, set up modest ->battery drain
reflashed diablo without setting up modest ->battery drain
reflashed chinook ->all is fine again

chinook vs. diablo

diablo:
pros
agps, fingertap vs. stylustap recognition, update without flashing
cons
only a half-day battery (n810)

chinook:
pros
two days battery, for me better microb rendering (itt for example)
cons
all diablo pros

vinc17 2008-07-09 16:07

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by GeneralAntilles (Post 200928)
Er, FAQ?

I looked at http://www.internettablettalk.com/forums/faq.php

I repartitioned my internal 2-GB card in March. This cannot be this problem.

vinc17 2008-07-09 16:15

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by zehjotkah (Post 200933)
same here, flashed diablo, set up modest ->battery drain
reflashed diablo without setting up modest ->battery drain
reflashed chinook ->all is fine again

I now remember having an almost-emptied battery a few days ago (also after a few hours during the day), and I thought this was my fault. Now, it's probably the same problem. And except once when I started a wifi connection and let it on, I've never had any such problem with chinook.

GeneralAntilles 2008-07-09 16:16

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by vinc17 (Post 200935)

Uh, the fact that it only contains stuff for BBCode didn't give you a hint? :\

By searching I meant Google. . . .

Quote:

Originally Posted by vinc17 (Post 200935)
I repartitioned my internal 2-GB card in March. This cannot be this problem.

There have been about a half-dozen threads (and more here, several posted just hours before your own :/) on maemo-users that cover pretty much everything you've ever wanted to know about Maemo battery consumption. Might be worth your while to browse through some of them.

This should get you started.

. . . and this is the search you should've performed before posting this thread. ;)

vinc17 2008-07-09 16:19

Re: Battery almost empty after 5 hours with locked N810
 
BTW, is it normal that Xomap took so much time?
Code:

  CPU[|||||                    12.2%]    Tasks: 86 total, 1 running
  Mem[||||||||||||||||||||||70/123MB]    Load average: 0.00 0.00 0.00
  Swp[                        0/0MB]    Uptime: 8 days, 16:46:20

  PID USER    PRI  NI  VIRT  RES  SHR S CPU% MEM%  TIME+  Command
  812 root      14  -1 13132  9304  1768 S  0.0  3.2 25:26.99 /usr/bin/Xomap -mo


vinc17 2008-07-09 16:32

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by GeneralAntilles (Post 200939)
Uh, the fact that it only contains stuff for BBCode didn't give you a hint? :\

I thought it was hidden somewhere. Why not removing this page?

Quote:

This should get you started.

. . . and this is the search you should've performed before posting this thread. ;)
I did search, but didn't find anything about my particular problem. Note that yesterday, I had no battery problem, with the same installed software and with the same configuration.

There are too many threads. Problems should really by summarized somewhere.

Benson 2008-07-09 16:37

Re: Battery almost empty after 5 hours with locked N810
 
Why remove that page? Just because it's not relevant to certain problems does not make it useless... it has, for example, information on how to search the forums. Which could be useful to newbies.

GeneralAntilles 2008-07-09 16:37

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by vinc17 (Post 200945)
I thought it was hidden somewhere. Why not removing this page?

That's Reggie's domain.

Quote:

Originally Posted by vinc17 (Post 200945)
There are too many threads. Problems should really by summarized somewhere.

Perfect candidate for a wiki page!

omegaone37 2008-07-09 16:51

Re: Battery almost empty after 5 hours with locked N810
 
Oh my... the ITT Police are at it again...

Give it a rest GA!

Benson 2008-07-09 17:15

Re: Battery almost empty after 5 hours with locked N810
 
That's itT Police, sir. And I'm gonna have to write you up for insulting an officer of the forum. :rolleyes:

lcuk 2008-07-09 17:46

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by Benson (Post 200962)
itT:rolleyes:


Actually Benson since you are making a point of highlighting it, I believe it should be itT (not italic).

:p the signal to noise on this thread has gone downhill, blame GA! :D

zehjotkah 2008-07-09 20:22

Re: Battery almost empty after 5 hours with locked N810
 
sorry guys.. but are you incapable of helping someone without making some stupid comments???
btt please!
i've flashed back to chinook because the battery drain under diablo was too bad for me. but i think thats a problem which will be fixed by nokia soon.

Benson 2008-07-09 20:24

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by zehjotkah (Post 201041)
sorry guys.. but are you incapable of helping someone without making some stupid comments???

If you don't like the comments, you can get a full refund.
Quote:

btt please!
i've flashed back to chinook because the battery drain under diablo was too bad for me. but i think thats a problem which will be fixed by nokia soon.
I don't think it's a problem Nokia can fix; I think it's not a problem with Diablo.

GeneralAntilles 2008-07-09 20:24

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by zehjotkah (Post 201041)
sorry guys.. but are you incapable of helping someone without making some stupid comments???

Yes, very. You're welcome to take it or leave it. It's no skin off my back. :)

geneven 2008-07-09 20:38

Re: Battery almost empty after 5 hours with locked N810
 
I clicked on that link and got:

vBulletin Message
Sorry - no matches. Please try some different terms.

vinc17 2008-07-09 22:47

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by GeneralAntilles (Post 200947)
Perfect candidate for a wiki page!

Unfortunately, as I don't know what the source of my problem is (I think I can eliminate corrupted memory card and processes that reproducibly take CPU time), I can't add any information for the moment. FYI, the charger cable has been unplugged for 6 hours (the N810 was also most of the time in my pocket), and the battery is still full.

So, it could be a problem in diablo or in one of the applets that occurs from time to time. Or could it be the heat?

bunanson 2008-07-09 22:53

Re: Battery almost empty after 5 hours with locked N810
 
Einstein: E=mc(square)

I think heat is a form of energy. It happens to me on a couple of occasion. The tablet gets warm and the next thing, battery is gone.
And yes, it is a N810. And yes, it is pre-diablo. I have no squirt idea what is going on, it seems it is rare enough, as someone put in, I just move on.

bun

vinc17 2008-07-09 23:07

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by bunanson (Post 201074)
I think heat is a form of energy. It happens to me on a couple of occasion. The tablet gets warm and the next thing, battery is gone.

Could be the problem here.

Quote:

And yes, it is a N810. And yes, it is pre-diablo.
I didn't have any problem with chinook, but diablo came with the heat. It may not be a good idea to keep the N810 in one's pocket in a very warm room.

zehjotkah 2008-07-10 05:49

Re: Battery almost empty after 5 hours with locked N810
 
so ignorant... but you are right... just make a usefull comment or leave it. is it so difficult for you?

btt: i don't think that the problem is the general heat in a room or in the pocket, because the n810 itself gets warm like if it is runnig a resojrce-hungry program (video for example).
if you don't think that it is a problem with diablo, what think you then that it is?
for me the problem was away with flashing chinook back

Seb Per 2008-07-10 06:06

Re: Battery almost empty after 5 hours with locked N810
 
problem appeared when I installed Diablo. But after a few battery cycles, it seems to have gone away so far. Could it be that this is a learning process to adjust consumption?
I am cautious however to switch wifi off ( BT always off, it s draining power like crazy), shut down all applications for the night. So this also can explain the disappearance of the problem.
By the way, same problem occured after Chinook plus huge problems in finding my wifi base. It improved with time too...

Sorenzo 2008-07-10 06:22

Re: Battery almost empty after 5 hours with locked N810
 
Hey vinc17, try to recreate your swap file. I had this once that the swap file got corrupted and used a lot of battery power.

1.Disable swap in the settings menu
2.Delete the swap file manually
3.Create a new swap file via the settings menu

Mabye this fix the issue for you as well. Do you have a spare battery to double check if maybe the battery(hardware) is damaged?

Bundyo 2008-07-10 07:13

Re: Battery almost empty after 5 hours with locked N810
 
Another thing - how do you stop your network connections? Offline mode?

vinc17 2008-07-10 08:36

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by Sorenzo (Post 201158)
Hey vinc17, try to recreate your swap file. I had this once that the swap file got corrupted and used a lot of battery power.

1.Disable swap in the settings menu
2.Delete the swap file manually
3.Create a new swap file via the settings menu

Mabye this fix the issue for you as well.

I don't use swap at all (and I've never used swap). So, this cannot be the problem.

Quote:

Do you have a spare battery to double check if maybe the battery(hardware) is damaged?
No spare battery. But I don't think this comes from the battery, unless it got hot by itself for no reason.

vinc17 2008-07-10 08:45

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by Bundyo (Post 201164)
Another thing - how do you stop your network connections?

Yes, as I've said in my initial post, no wifi, no bluetooth. More precisely, bluetooth is permanently disabled. Concerning the wifi, I disconnected in the morning (otherwise, it disconnects by itself when I leave home). I could check when I came back that it did not reconnect automatically (in case of a bug, because automatic connection is disabled).

Quote:

Offline mode?
No offline mode. I just locked the touch screen and keys. Except when I had this battery problem twice, this is sufficient: the battery remains full after several hours.

Bundyo 2008-07-10 08:49

Re: Battery almost empty after 5 hours with locked N810
 
If you're not in offline mode, wifi still scans for networks.

lcuk 2008-07-10 08:52

Re: Battery almost empty after 5 hours with locked N810
 
vinc17,

Sounds like the way I use it.

It smells like an application getting stuck processing in the background - or a similar situation involving hardware - maybe when things are being closed its having an issue?

lcuk 2008-07-10 08:55

Re: Battery almost empty after 5 hours with locked N810
 
Bundyo,
why on earth should it?
My 810 is set to not connect automatically and only scans wifi when I bring up the network connection dialog.

When disconnected on a normal day I wake up and battery is still full.
On bad days I wake up and its completely powered off.

My actions are no different on each day.

vinc17 2008-07-10 08:57

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by Bundyo (Post 201186)
If you're not in offline mode, wifi still scans for networks.

Is this new in diablo? I never switch to offline mode, and I've never had any problem when using chinook. Most of the time, no-offline-mode seems also to be OK with diablo.

Bundyo 2008-07-10 09:03

Re: Battery almost empty after 5 hours with locked N810
 
Naah, it shouldn't if you disabled the automatic connect.

I'm always switching to offline, since i like auto connect and don't want to choose the network i want to connect unless i have to. Still some desktop plugins like the RSS reader and omWeather would try to connect overnight (when i didn't switch to offline before) and drain my battery. So at the end i resorted to offline mode to shut everything off completely.

Also in Diablo hildon-application-manager checks every day for new updates... possible culprit too.

lardman 2008-07-10 09:06

Re: Battery almost empty after 5 hours with locked N810
 
Do you charge the device every day?

Perhaps on normal days the battery has a real full charge, but on abnormal days the battery charge is lower (but still enough for the battery icon to think it's full - God only knows what goes on in that Nokia battery charger ;) ).

Might be worth waking the device up every 1/2 hour or so and recording the output of top - any script-writing gurus fancy that?

vinc17 2008-07-10 09:06

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by lcuk (Post 201187)
It smells like an application getting stuck processing in the background - or a similar situation involving hardware - maybe when things are being closed its having an issue?

Perhaps. I didn't notice CPU activity, but the N810 was warm and if it is an application getting stuck processing in the background, this could have ended when I slided the keyboard out. If I have this problem again, I'll write a monitoring script that logs as much as possible, say every 15 minutes.

lcuk 2008-07-10 09:14

Re: Battery almost empty after 5 hours with locked N810
 
Simon,
I left a log running for a few nights a while ago when I first encountered this problem.
But quantum effects got involved and every night I watched it the error did not occur.
(top log every 10 seconds - i even hacked a log viewer on my desktop to try and see)

I suppose from that I could say that running a top log fixed my problem! ;)
*all hail the mighty top log*

vinc17 2008-07-10 09:15

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by lardman (Post 201191)
Do you charge the device every day?

Usually permanently when I'm at home (since I use wifi here and sometimes do CPU-intensive things).

Quote:

Perhaps on normal days the battery has a real full charge, but on abnormal days the battery charge is lower (but still enough for the battery icon to think it's full - God only knows what goes on in that Nokia battery charger ;) ).
This can't explain the fact that the battery was almost empty after 5 hours (I didn't use my N810 during that time). Even when I use my N810 with wifi on, the battery is still far from being empty after several hours.

Quote:

Might be worth waking the device up every 1/2 hour or so and recording the output of top - any script-writing gurus fancy that?
BTW, top and ps (from busybox) don't output the time spent by processes. This is useful information. How can I get it? Note that htop provides it, but doesn't have a batch mode.

vinc17 2008-07-10 09:21

Re: Battery almost empty after 5 hours with locked N810
 
Quote:

Originally Posted by lcuk (Post 201194)
But quantum effects got involved and every night I watched it the error did not occur.
(top log every 10 seconds - i even hacked a log viewer on my desktop to try and see)

You probably need to do that in background, e.g. to log the top output to a file every 5 minutes:
Code:

#!/bin/sh
while true
do
  date
  top -b -n 1
  sleep 300
done > top.log



All times are GMT. The time now is 05:04.

vBulletin® Version 3.8.8