maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   how fast your battery drain? (https://talk.maemo.org/showthread.php?t=62271)

shadowjk 2010-09-18 11:43

Re: how fast your battery drain?
 
For small amounts but frequent data like Skype, VoIP, IM, etc, 2.5g is actually less powerhungry than 3g by far.

3g starts to win once you're doing something that takes more than 5-10 seconds of continuous transfer at max 3g speed to complete. Lots of websites are so slow to respond that they load about as fast on 2g and 3g, in which case 2g would use less power to do it.

Downloading podcasts with gpodder is a case where 3g clearly uses less power than 2g.

fazaln900 2010-09-18 12:31

Re: how fast your battery drain?
 
Quote:

Originally Posted by fraz (Post 819381)
Most battery related problems are a program that won't go idle. Or maintaining a 3G data connection with chat enabled, or wifi (not so bad) with chat.

Try this:
top -d 240

and leave it alone for at least 4 minutes.
Then look at the CPU % column and you can see what is using CPU time. Ideally everything should be 0%. Less than 1% might be ok.

or install one of the battery graph programs. I've used "BatteryGraph" to monitor what uses up the battery.

---------------
I have tried and the CPU is 8% usr is 2.3% nice 90% and idle 0.7% and rest of them are 0. any advice

zimon 2010-09-18 12:41

Re: how fast your battery drain?
 
Quote:

Originally Posted by blackbird (Post 817823)
My battery drains empty in about 12 hours now without using it, it's just 12 hours of standby
Code:

Powertop 1.13.3
Sleeping for 11 seconds before sampling
Collecting data for 600 seconds
Sample interval was 10m 00s 19287us

C#      | Ratio  | Avg/dura | Frequency | Ratio
--------+--------+----------+-----------+--------+
    C0 |  7.9% |          |  1150 MHz |  nan% |
    C1 |  0.6% |    3.8ms |
    C2 |  10.4% |    6.8ms |
    C3 |  48.7% |  110.5ms |
    C4 |  32.4% |  631.0ms |

....

Total wakeups  115160, 191.9/s | IRQ 98245, 163.7/s | Timers 16915,  28.2/s
HW wakeups      224,  0.4/s |    Real gp_timers expired  123,  0.2/s

Anyone able to see the problem ??

At least 49% of that 10m it was doing (C3) something and not sleeping (C4). WLAN activity is shown on the other lines, but I am no expert interpreting powertop output.

zimon 2010-09-18 12:44

Re: how fast your battery drain?
 
Quote:

Originally Posted by fazaln900 (Post 819720)
---------------
I have tried and the CPU is 8% usr is 2.3% nice 90% and idle 0.7% and rest of them are 0. any advice

powertop, IMO, gives more meaningful results, see above.

fraz 2010-09-18 13:01

Re: how fast your battery drain?
 
Quote:

Originally Posted by fazaln900 (Post 819720)
---------------
I have tried and the CPU is 8% usr is 2.3% nice 90% and idle 0.7% and rest of them are 0. any advice

Mine currently is 1.9% user, 0.8% sys 0.0% nice, 96.2% idle.

But I more mean to look at the part below so you can see what is using your CPU cycles:
for me its:
skyhost at 1.4% CPU,
telepathy-spirit 0.2% CPU

These are part of the instant message protocols I have.
I Mainly suggest top so it's easy to identify the culprit programs and doesn't involve installing things. But powertop does let you see the power states which is nice.

blackbird 2010-09-18 21:00

Re: how fast your battery drain?
 
Quote:

Originally Posted by shadowjk (Post 817921)
blackbird: sort of high traffic on wlan for idle.. And what's the cifs stuff, mounting smb shares?.. Is wifi powersaving on max? Skype, haze and the rest being as obnoxious as usual..

The i2c irq count looks very high, but all these figures might be a bit polluted since it kinda looks like your device wasn't idle the entire powertop sampling period

I don't know what the cifs thing does, I've got wizard mounter installed but not running, and when I run it, I only use nfs. wifi powersaving is max.

The powertop application was runnig for 10 minutes and I left the device on a table for at least 15 minutes so any activity was not done by me.

I have increased the battery life a bit now. The last week my phone was running at 850 Mhz max (not a problem) but the low end was 125 (a problem I guess). Now the limits are 250 till 850 and battery life increased by something like 25%

Quote:

Originally Posted by zimon (Post 819727)
At least 49% of that 10m it was doing (C3) something and not sleeping (C4). WLAN activity is shown on the other lines, but I am no expert interpreting powertop output.

The only thing I can imagine is the IM is producing a lot of Wlan activity.

RenaldoTT 2010-09-19 01:05

Re: how fast your battery drain?
 
My battery is at 48% after 10hrs of minimum usuage including wifi usage and gprs

here's a log I made of my day

18 Sep. 2010
Uptime 1hr 22mins
Online via Wifi apprx. 45mins
Installed 4apps and ran then around 10mins TOTAL
Battery now 79%
Went to bed set phone to OFFLINE
Woke Up Battery at 68%
Charged while ON to 96%
Start light Wifi use 2:56pm Battery @ 75%
End 3:24pm Battery @ 68%
Did a system restart Battery now @ 60%
Did a system restart Battery now @ 56%
Very good battery level after a days work with minimum usage.
TIME: 7:49 BATTERY LEVEL 53%

pagesix1536 2010-09-19 01:38

Re: how fast your battery drain?
 
Mine drops dead in about 4-5 hours...but I'm a heavy user of the device. Constantly using it all day for just about everything. Pedometer, GPS nav, music, podcasts, streaming audio, FM transmitter in the car, photos/movies, Web browsing, games, etc..etc..etc..and more.

fazaln900 2010-09-19 05:09

Re: how fast your battery drain?
 
Quote:

Originally Posted by fraz (Post 819735)
Mine currently is 1.9% user, 0.8% sys 0.0% nice, 96.2% idle.

But I more mean to look at the part below so you can see what is using your CPU cycles:
for me its:
skyhost at 1.4% CPU,
telepathy-spirit 0.2% CPU

These are part of the instant message protocols I have.
I Mainly suggest top so it's easy to identify the culprit programs and doesn't involve installing things. But powertop does let you see the power states which is nice.

----------------------------------
could someone help me in understanding the difference between Htop, Top in xterminal and powetop as I have all 3 in my n900 ... I saw Powertop in graphics interface in one of the post ...but im not getting that ..how do i get that ???

zimon 2010-09-19 05:45

Re: how fast your battery drain?
 
Quote:

Originally Posted by fazaln900 (Post 820313)
----------------------------------
I saw Powertop in graphics interface in one of the post ...but im not getting that ..how do i get that ???

You cannot get a GUI to powertop unless someone writes or ports a program for it. Currently there is no GUI. In the other thread someone just had GUI from some other program as an example for the feature request.

You can redirect powertop's output to the text file and then copy+paste it for examination here. like this:
# powertop > /home/user/MyDocs/tmp/powertop-out.txt

Niksnoppesnada 2010-09-22 08:56

Re: how fast your battery drain?
 
1 Attachment(s)
Hi
My battery was doing reasonable, I got more than I day out of it I think, but for some reason itīs less now
I have a lot of powersaving options (Wifi switcher, less bright screen, 3 desktops, bluetooth out, no connecting widgets I think,...)

I installed batterygraph and I noticed something strange (but Iīm not an expert)...I charged it at night and when I took it off the charger around 6 am, it went to 75% in 3 hours, and now two hours later its 68% and all I used was batterygraph and my alarmclock (with some snoozing I must admitt)
In the cpu I donīt see any spikes during those 3 hours! So is it the battery? I bought the phone two weeks ago...

(the first spike is starting batterygraph, putting the alarmclock, and then charging it...then little spikes during sleeping...I woke up shortly at 6am and disconnected charger, nothing else...and then woke up with the alarm clock at 8u30-9am and checked on battery graph)

jamesc760 2010-09-22 16:25

Re: how fast your battery drain?
 
Quote:

Originally Posted by SAABoy (Post 819405)
how did you discover this?

From a thread on this forum, so I removed/uninstalled catorize on MY N900 and it MADE a HUGE difference in battery run-time. You will see it, I GUARANTEE it.

stlpaul 2010-09-22 16:34

Re: how fast your battery drain?
 
With 3G data connection, but otherwise idle (just checking mail every 15m) battery is dead in 4 hours or so. With wifi instead of 3G data connection phone lasts about 10-12 hours.

shadowjk 2010-09-22 16:36

Re: how fast your battery drain?
 
That would indicate that it's not idle at all.

cfh11 2010-09-22 17:14

Re: how fast your battery drain?
 
Here are 4 general suggestions that will help alot:

1) Use GSM whenever you can - 3G is a battery killer
2) Minimize the amount of auto-update widgets/apps
3) Set brightness to 2
4) Overclock/undervolt

Assuming you are not doing any activities that require the screen to be on for a long period of time (browsing, gaming, watching videos) you should have NO problem getting through the day.

AlMehdi 2010-09-22 17:28

Re: how fast your battery drain?
 
about 2-3 days.. but i seldom wait that long until i charge.

Niksnoppesnada 2010-09-22 21:08

Re: how fast your battery drain?
 
Damn...I took off catorize and I allready see a big difference on my batterygraph...but now my icons look much less nice and I donīt have those handy catogories in my menu...

brandonc 2010-09-22 21:23

Re: how fast your battery drain?
 
...before the swappolube scripts and the modified hildon-desktop that fixes the catorise cpu leak, I would probably get between 5-7 hours after a full charge, it was horrible, made me strongly dislike this device and made it almost unusable and unreliable, however the community is saving this device with those improvements I am able to easily get 2 days out of my battery, its unbelieveable how this device is just now starting to "perform" like it should. now lets get some actual apps nokia.

RogerTHAcctant 2010-09-22 21:31

Re: how fast your battery drain?
 
my battery could possibly last up to 2.5 days with extreme light usage, 24 hours with normal usage, and 7 hours probably with heavy usage


All times are GMT. The time now is 23:53.

vBulletin® Version 3.8.8