maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   PR1.1 and unusual battery drain (not wifi related) (https://talk.maemo.org/showthread.php?t=40541)

maluka 2010-01-19 00:21

Re: Weird battery behavior after PR1.1
 
my battery was at 75% before i took a call. the call went on for about 10 minutes before the phone died. luckily i have a few extra batteries.

waleed786 2010-01-19 00:22

Re: Nokia N900 Battery Question (Less Efficient Over Time?)
 
I noticed the same, but when I put in my old battery from the Nokia 5800 (they use the same battery) I noticed that the battery lasted a lot longer, almost a day and a half...I guess the battery gets better over time, since that 5800 battery is about a year old

lpsolevag 2010-01-19 06:03

Re: PR1.1 and unusual battery drain (not wifi related)
 
hi,

My N900 never had particulary good batterytime, max 1.5 day, but usually it ran out late in the evening.

After PR1.1 it got even worse.

I read this thread, and the only thing that seemed to apply to me was Skype. After disabling it, I had my phone on for 24 hours now, and the battery level is about 2/3.

I never use wifi, and usually disconnect the 3G connection when not surfing. been using the phone as before.

So my conclusion is that the Skype application in itself drains battery (not necessarily related to being online with this app)

KevinSass 2010-01-19 14:51

Re: Weird battery behavior after PR1.1
 
Quote:

Originally Posted by aefox (Post 481079)
Ok i think i found the BIG BUG on the system that causing the RARE troubles with the Battery ...

I was very happy with my Battery life with the 1.01 os ...

Anyway i decided to get more life by buying another BL-5J battery ...

Just in case i need it one day of too much N900 doing things ...

the same day that i upgrade OS... i recieve the new battery ...

So, to my knowledge, a new battery came with a 50% of charge ...

But to my surprise when i put the new battery the system show me 100% of charge :confused: ... anyway i thought rare but ok ... may be the battery came fully charged? ... so i continue using without problem ...

The same day after a few hours ... the Battery indicator display 100% yet? ... i thought ... wow amazing battery or amazing os upgrade! ..

but suddenly ... alarm!!! and red indicator! :eek: ...

So... just at may be 1% or 2% of the real battery charge the system recognize that real charge and showed ... the new battery really was at 50% of charge not at 100% that display the os indicator...

Then! ... ok i connected the charger .. and leave the phone totally OFF to get a good charge ...

After a few hours ... ok Green light on .. fully charged ... right?

Ok turn it ON and the bat indicator show 100% ... ok good ...

Then again ... heavy use ... few hours later .. the indicator show about 70% .. i thougt (wrong again) .. oh nice bat or nice upgrade...

Nope ... i installed a third party app bat indicator... and that app showed near dead battery (as must be) and the OS indicator display near 50% ...

So conclusion... the new battery NEVER was fully charged, only to 50% ... and i can't fully charge because the OS think that it's already full at the 50% ...:mad:

And here is the most rare of all things ... this behavior ... do not occur with the original Battery ... :confused: ... may be because that battery was fully charged many times with the older OS version? ... the original battery could be charged to 100% without problem and i can get nice time of usage and both indicator show the same info ... OS and 3rd party bat indicator ..

Please! some body test this... use 2 batteries ... and test!

There you will understand why some people talk about quick drain... itīs because the OS never fully charge those batteries and it's lying displaying WRONG bat info level ...

So, there ir a serius HUGE problem with the OS about Battery levels and charging ... don't know why this happend on the upgraded 1.1 ... but i can't confirm how it was using 2 batteries with 1.01... may be the same? may be not?

Ok.. OS guys ... work on that!!

bye!

nice work.... post it to the admin or the guys who're makimg the os... it's (as you say) also a bit strange that from an empty battery to full is so short. normaly it will charge longer...

kevin

Kieron 2010-01-19 20:48

Re: Weird battery behavior after PR1.1
 
Quote:

Originally Posted by aefox (Post 481079)
Ok i think i found the BIG BUG on the system that causing the RARE troubles with the Battery ...

I was very happy with my Battery life with the 1.01 os ...

Anyway i decided to get more life by buying another BL-5J battery ...

Just in case i need it one day of too much N900 doing things ...

the same day that i upgrade OS... i recieve the new battery ...

So, to my knowledge, a new battery came with a 50% of charge ...

But to my surprise when i put the new battery the system show me 100% of charge :confused: ... anyway i thought rare but ok ... may be the battery came fully charged? ... so i continue using without problem ...

The same day after a few hours ... the Battery indicator display 100% yet? ... i thought ... wow amazing battery or amazing os upgrade! ..

but suddenly ... alarm!!! and red indicator! :eek: ...

So... just at may be 1% or 2% of the real battery charge the system recognize that real charge and showed ... the new battery really was at 50% of charge not at 100% that display the os indicator...

Then! ... ok i connected the charger .. and leave the phone totally OFF to get a good charge ...

After a few hours ... ok Green light on .. fully charged ... right?

Ok turn it ON and the bat indicator show 100% ... ok good ...

Then again ... heavy use ... few hours later .. the indicator show about 70% .. i thougt (wrong again) .. oh nice bat or nice upgrade...

Nope ... i installed a third party app bat indicator... and that app showed near dead battery (as must be) and the OS indicator display near 50% ...

So conclusion... the new battery NEVER was fully charged, only to 50% ... and i can't fully charge because the OS think that it's already full at the 50% ...:mad:

And here is the most rare of all things ... this behavior ... do not occur with the original Battery ... :confused: ... may be because that battery was fully charged many times with the older OS version? ... the original battery could be charged to 100% without problem and i can get nice time of usage and both indicator show the same info ... OS and 3rd party bat indicator ..

Please! some body test this... use 2 batteries ... and test!

There you will understand why some people talk about quick drain... itīs because the OS never fully charge those batteries and it's lying displaying WRONG bat info level ...

So, there ir a serius HUGE problem with the OS about Battery levels and charging ... don't know why this happend on the upgraded 1.1 ... but i can't confirm how it was using 2 batteries with 1.01... may be the same? may be not?

Ok.. OS guys ... work on that!!

bye!

Thats cause you're supposed to charge a new battery for a few cycles no matter what the status says, thats how new batteries work. Happened to me on the n900 and a multitude of other devices in the past.

Imperium 2010-01-21 19:26

Re: PR1.1 and unusual battery drain (not wifi related)
 
He has a point though, I also was stunned by the charge time (full in 1.5 hours) but more stunned by the discharge time of only 8 hours.. Weird thing is, when the phone keeps saying the battery is going empty, i can still use it for a couple of hours...

So there is definitely something wrong..

econan 2010-01-21 22:53

Re: PR1.1 and unusual battery drain (not wifi related)
 
1 Attachment(s)
I have a similar issue. My charge doesn't hold up. At max it goes 6 hours.
I had a chance to chart my battery drain for today. Here is what happened in that last 6 hours. No 3g, only edge, no wireless, no media. Very few browsing (like 3-4 mins) 10-20 mins phone conversation. And the battery is dead in 6 hours.

I'm using the lastest firmware. Not many extra apps: ssh/sshd, forecaweather, mauku, mirror, moobox (mooo :))

These are my drain charts. First one is the amps, second one is the percentage. I also added the 1/5/10 min loads for the same period of time.

Oh... And Hello to the forum :)

Edit: I also added the log for the battery drain. Fields are: time, charge, percent, 1minload, 5minload, 10minload.

Charge:
http://imgur.com/h2SOe.png

Percentage:
http://imgur.com/QIB5A.png

Load:
http://imgur.com/uCp3C.png

bugelrex 2010-01-21 23:37

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by econan (Post 487710)
I have a similar issue. My charge doesn't hold up. At max it goes 6 hours.
I had a chance to chart my battery drain for today. Here is what happened in that last 6 hours. No 3g, only edge, no wireless, no media. Very few browsing (like 3-4 mins) 10-20 mins phone conversation. And the battery is dead in 6 hours.

I'm using the lastest firmware. Not many extra apps: ssh/sshd, forecaweather, mauku, mirror, moobox (mooo :))

These are my drain charts. First one is the amps, second one is the percentage. I also added the 1/5/10 min loads for the same period of time.

Oh... And Hello to the forum :)

Edit: I also added the log for the battery drain. Fields are: time, charge, percent, 1minload, 5minload, 10minload.

Charge:
http://imgur.com/h2SOe.png

Percentage:
http://imgur.com/QIB5A.png

Load:
http://imgur.com/uCp3C.png

Here's a perl script I've been using to track down battery drains. It will just show any offending processes. It will only show processes that spin for more than 15 mins (you can change the interval).

to run:
- save the code below as batt.pl
- create MyDocs/tmp directory
- open xterminal and run: perl batt.pl

If the battery drains more than 2% in any 15 min interval, it will log the top output 10 times. Change the interval if thats too long


$nLastPercent = 0;
while(1)
{
$output = `lshal | grep percen`;
@outputArray = split(' ', $output);
$nBattPercent = $outputArray[2];

$nDifference = $nLastPercent - $nBattPercent;
$nLastPercent = $nBattPercent;

print( "difference:..$nDifference...$output");

# if the battery loses more than 2 pct in 15 mins, log top
if($nDifference > 2)
{
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isd st)=localtime(time);
$filename = "MyDocs/tmp/" . ($year+1900) . "-" . ($mon+1) . "-" . $mday . "-BATTERY.txt";
$now = localtime(time);
$entry = "$now - battery drained $nDifference in 15 mins";
system("echo $entry >> $filename");
print("$entry\n");

# run top 10 times 10sec intervals
for($i=0;$i < 10; $i++)
{
system("top -b -n1 | head -12 >> $filename");
}
}

sleep(900);
}

econan 2010-01-22 00:35

Re: PR1.1 and unusual battery drain (not wifi related)
 
Mine was a simple 10 min battery log.
Here is how I do:


Code:

Nokia-N900-42-11:/usr/local/bin# cat collect_battery

#!/bin/sh
EVERY=600

while true
do
LOAD=`cat /proc/loadavg | awk '{print $1,$2,$3;}'`
BATT=`hal-device | egrep "reporting.curre|perc"| xargs | awk '{print $3,$8;}'`
NOW=`date +%s`
echo "$NOW $BATT $LOAD" >> /root/battery.log
sleep $EVERY
done
Nokia-N900-42-11:/usr/local/bin#

Then I used some rrdtools to chart.

And I don't know why my machine still thinks on the shell that it is 42-11... Worth investigating... Is there a way to check this? (other than uname, hostname etc..)

Rob1n 2010-01-22 09:26

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by econan (Post 487934)
And I don't know why my machine still thinks on the shell that it is 42-11... Worth investigating... Is there a way to check this? (other than uname, hostname etc..)

What's given in the root shell there is the hostname (which, by default, is the original version string). You can change this by editing /etc/hostname and rebooting.

econan 2010-01-23 16:15

Re: PR1.1 and unusual battery drain (not wifi related)
 
1 Attachment(s)
Yesterday was 3g test day :) I wanted to know how the phone was going to behave on 3g/edge mixed mode. The usage profile was quite heavy I must say. And surprisingly the battery help a good 13 hours! Compared to 6 hours of 2 days ago, this is a good achievement.

As usual I logged the battery and system load. Here is the data.

Charge:
http://imgur.com/9Icb7.png

Percentage:
http://imgur.com/oo287.png

System Load:
http://imgur.com/OP51n.png

Also I'm attaching the raw log.

jer006 2010-01-24 14:59

Re: PR1.1 and unusual battery drain (not wifi related)
 
After PR1.1 install my battery was fine, i.e. no problem going through the night with plenty of charge remaining... However this past week I noticed things go down hill rapidly and have been having to give the device a top up charge in the morning just to make it to work with some juice...

The only real difference this past week had been the addition of the conversations widget to one of my desktops... So yesterday after reading through the latest postings on this thread I uninstalled firefox, the mozilla runtime and I removed the conversations widget from my desktop...

My N900 was plugged into my computer last night via USB and the battery indicator was showing full (green charge light), this morning I am happy to say that it is still showing full! Thats with it being on 3G and using data off on and throughout the night as it updates Mfe and email...

I cannot confirm if it was firefox or the conversations widget but firefox was installed prior to PR1.1, the only change recently was the conversations widget and it was around this time that I noticed a massive drop off in battery life. I removed both just to be sure however!

zerojay 2010-01-24 15:06

Re: PR1.1 and unusual battery drain (not wifi related)
 
My prototype on PR1.1 lasted 4 hours last night with just instant messengers and twitter integrated into contacts with almost zero use.

maxximuscool 2010-01-26 22:01

Re: PR1.1 and unusual battery drain (not wifi related)
 
The battery draining bug.
I left my device on charge every night and charge from near empty to full battery, which say 97%.

Every morning I disconnected it at 8:10am. During that period the phone is on an idle state. Whereas I was in the bathroom getting ready for work.

10 minutes later I check the battery again (every day) as a routine. And I found that during that idle period between the full charged (97%) and the 10 minutes idle, my battery dropped from 97% to 88% while doing nothing.

This occurred everyday. 9% of precious battery life gone missing in just 10 minutes.

The drainage did not stopped there. It's continueing until it reached 84% threshold. Then it slowing down alittle bit. But after this period, the power management is seem to kicking in and working better and when the battery dropped to 55% this is when NOKIA maemo5 power management really worked.

I tested this for a week and found the exact result from full charged.

If anyone else experiencing this issues please speak up so we can report it as a bug.

FYI: i reboot my phone every night before i charge it up to do a clean test.

Bratag 2010-01-26 22:05

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by maxximuscool (Post 496279)
The battery draining bug.
I left my device on charge every night and charge from near empty to full battery, which say 97%.

Every morning I disconnected it at 8:10am. During that period the phone is on an idle state. Whereas I was in the bathroom getting ready for work.

10 minutes later I check the battery again (every day) as a routine. And I found that during that idle period between the full charged (97%) and the 10 minutes idle, my battery dropped from 97% to 88% while doing nothing.

This occurred everyday. 9% of precious battery life gine missing in just 10 minutes.

The drainage did not stopped there. It's continueing until it reached 84% threshold. Then it slowing down alittle bit. But after this period, the power management is seem to kicking in and working better and when the battery dropped to 55% this is when NOKIA maemo5 power management really worked.

I tested this for a week and found the exact result from full charged.

If anyone else experiencing this issues please speak up so we can report it as a bug.

FYI: i reboot my phone every night before i charge it up to do a clean test.

Yep I can confirm this one - mine goes from 96 - 87 in the first 30 mins of phone being on. If someone would just upload goddamn powertop I might be able to track down the drain

bugelrex 2010-01-26 22:28

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by maxximuscool (Post 496279)

10 minutes later I check the battery again (every day) as a routine. And I found that during that idle period between the full charged (97%) and the 10 minutes idle, my battery dropped from 97% to 88% while doing nothing.

This occurred everyday. 9% of precious battery life gone missing in just 10 minutes.
[/B]

I have noticed this too, but I think the answer is very simple:

Once the battery is fully charged it switches to battery even while plugged in. During the time its on battery, it uses 5 to 10% so you only "think" its fully charged.

Today I purposely used the phone at 8am to drain a little. Plugged back in at 9am to "top up" and took off charger 30 mins later.

I did not notice the initial "reported" drain. Note this is completely unrelated to the original "huge drain" issue which happened in the middle of the day.

maxximuscool 2010-01-26 22:39

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by bugelrex (Post 496348)
I have noticed this too, but I think the answer is very simple:

Once the battery is fully charged it switches to battery even while plugged in. During the time its on battery, it uses 5 to 10% so you only "think" its fully charged.

Today I purposely used the phone at 8am to drain a little. Plugged back in at 9am to "top up" and took off charger 30 mins later.

I did not notice the initial "reported" drain. Note this is completely unrelated to the original "huge drain" issue which happened in the middle of the day.

Not really. I charged it again to full and when it say battery is full, then i disconnected it again to test it out and happening like what i describe above. You have to run the commandline to see how much the battery is available.

Even if you recharging it until it fill up again, it would end up draining again. The drainage didn't stop there though, it continue until it reached 50% mark. This is not normal. The more power it has is the more it will use. At 30% i left my phone connected on wifi for 2hours and yet battery still say 30%. This is what it should be like from the full charge.

maxximuscool 2010-01-26 22:51

Re: PR1.1 and unusual battery drain (not wifi related)
 
from discharged this morning (8:10am) until now (11:50am) my battery is on 67% only. Nearly 4hours and almost 40% drained.

kwotski 2010-01-26 22:54

Re: Weird battery behavior after PR1.1
 
Quote:

Originally Posted by MrThunderfield (Post 481000)

I went to bed, battery fully charged, device idle, no wireless connections.

The next day it had turned itself off.

I've had a couple of experiences similar to this, on the 1.0.1 firmware (not beforehand on the release firmware).

I have a "fully charged" N900, straight off the charger after a long charging interval, showing full battery. A short time later (6 hours), while I wasn't paying attention to it and as far as I know it wasn't doing anything (certainly no gui apps running), it had turned itself off and needed a decent charge followed by battery removal to get it to come up ok.

This has happened twice overnight and once during the day when I was at work.

As far as I can work out, this has only happened when I haven't had internet connectivity enabled.

Since doing the 1.0.1 update, shortly after it was released, it's only happened the three times.

My theory so far has been that some process is grinding the cpu when it expects a network connection but doesn't find one. I don't have a lot of apps installed that run in the background, and my favourite theory is that it may be the app manager trying to update.

(BTW, is there anywhere you can tell the app manager NOT to update itself?)

I have spotted a thumbnailerd apparently hitting the cpu hard for no good reason that I could see a couple of times, but I doubt it's that.

I keep meaning to run a little script to see if any cpu hogging process shows up during the small hours, but I've ended up mostly either charging overnight, or leaving the wifi on at home and not seeing any problem.

It does seem that outside this problem the battery lasts longer in the idle state after the 1.0.1 upgrade - I've been surprised a couple of times by getting two days of light use out of it (again, with either cell or wifi internet connection enabled throughout.)

Anyway the point of this probably too long post is to suggest people investigating it might take a look at whether there's a correlation between no internet connection and this sudden battery drain syndrome. That fits my experience, but of course it's a complex system and it's easy to get fooled!

fred123 2010-01-27 00:04

Re: PR1.1 and unusual battery drain (not wifi related)
 
See here for powertop

http://talk.maemo.org/showthread.php...light=powertop

jer006 2010-01-27 03:40

Re: PR1.1 and unusual battery drain (not wifi related)
 
Removing the Conversations widget and firefox has fixed the problem for me, Since I removed it on saturday I've started to get upwards of 36 hours on a single charge now - with heavy browsing for about an hour each day using 3G, SMS messaging and several calls!

pyllyukko 2010-01-27 07:31

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by econan (Post 487934)
Then I used some rrdtools to chart.

And here's a script that uses gnuplot (available in extras-devel):
Code:

#!/bin/sh
# plot.sh -- for n900
# pyllyukko at maimed dot org -- 18.1.2010
[ ! -x /usr/bin/gnuplot ] && {
  echo "error: no gnuplot!" 1>&2
  exit 1
}
[ -n "${1}" ] && INFILE="${1}" || INFILE="/root/battery.log"
[ ! -f "${INFILE}" ] && {
  echo "error: input file \`${INFILE}' does not exist!" 1>&2
  exit 1
}
PIC_DIR="/home/user/MyDocs/.images"
NOW=$(date +%s)
TODATE=$(date +%Y%m%d)
# BEFORE = 24 hours ago
BEFORE=$((${NOW}-60*60*24))
gnuplot -persist <<-EOP
        set terminal png
        set output "${PIC_DIR}/battery-${TODATE}.png"
        set title "n900 battery status"
        set xdata time
        set nokey
        set timefmt "%s"
        # enable this to plot only the last 24 hours
        #set xrange ["${BEFORE}":]
        set yrange [0:]
        set xlabel "time"
        set ylabel "mAh"
        set y2label "load avg"
        set y2tics
        plot "${INFILE}" using 1:2 with lines,\
            "${INFILE}" using 1:6 axes x1y2 with lines
EOP
exit 0

To create graphs like this:
http://maimed.org/~pyllyukko/files/battery-20100127.png

radiowc 2010-01-27 20:58

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by pyllyukko (Post 496931)
And here's a script that uses gnuplot (available in extras-devel):
Code:

#!/bin/sh
# plot.sh -- for n900
# pyllyukko at maimed dot org -- 18.1.2010
[ ! -x /usr/bin/gnuplot ] && {
  echo "error: no gnuplot!" 1>&2
  exit 1
}
[ -n "${1}" ] && INFILE="${1}" || INFILE="/root/battery.log"
[ ! -f "${INFILE}" ] && {
  echo "error: input file \`${INFILE}' does not exist!" 1>&2
  exit 1
}
PIC_DIR="/home/user/MyDocs/.images"
NOW=$(date +%s)
TODATE=$(date +%Y%m%d)
# BEFORE = 24 hours ago
BEFORE=$((${NOW}-60*60*24))
gnuplot -persist <<-EOP
        set terminal png
        set output "${PIC_DIR}/battery-${TODATE}.png"
        set title "n900 battery status"
        set xdata time
        set nokey
        set timefmt "%s"
        # enable this to plot only the last 24 hours
        #set xrange ["${BEFORE}":]
        set yrange [0:]
        set xlabel "time"
        set ylabel "mAh"
        set y2label "load avg"
        set y2tics
        plot "${INFILE}" using 1:2 with lines,\
            "${INFILE}" using 1:6 axes x1y2 with lines
EOP
exit 0

To create graphs like this:
http://maimed.org/~pyllyukko/files/battery-20100127.png

Does not make sense at all, even no load, looking at the graph, the battery still drain...so what does it tell you what cause the battery drain????

pyllyukko 2010-01-27 21:19

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by radiowc (Post 498252)
Does not make sense at all, even no load, looking at the graph, the battery still drain...so what does it tell you what cause the battery drain????

Don't know, I used the example log by econan (http://talk.maemo.org/showpost.php?p...0&postcount=88).

But hopefully people can track their battery draining a little bit better with the help of the script.

econan 2010-01-28 18:25

Re: PR1.1 and unusual battery drain (not wifi related)
 
Great script pyllyukko! :) Thanks for that.

Whoever has the initial drain issue, I suspect that the charging process does not understand that the battery is fully charged. Try this when your battery is fully charged:
  1. unplug the phone.
  2. shutdown the phone
  3. remove the battery
  4. (optional) push the power button 10 secs (without the battery, this might not even do anything, i might be imagining things :) )
  5. put the battery back in
  6. plug the phone immediately after boot finishes
Now whenever I did this, the phone continued to charge for another 20-30 mins.

I also recorded the percentage and the charge (mA) from the hal-device before and after the shutdown.

The fully charged battery before the shutdown was around 97% and ~1200 mA
After the reboot it goes to 87-90% battery state. (i don't remember the amps)

Either I'm missing something (maybe boot drains a lot of battery, or some enormous discharge happening somewhere in between) or the measurement of the battery charge is somewhat skewed in the OS.

egoshin 2010-01-28 19:45

Re: PR1.1 and unusual battery drain (not wifi related)
 
econan (charging process) - it is a usual behavior even with my battery powered saw. LiON does some "restructuring" process after it reaches a full charge.

marmota 2010-01-30 12:04

Re: PR1.1 and unusual battery drain (not wifi related)
 
I am having the battery drain problem after the update. I tried to unistall firefox but without results. I do not have desktop widgets and top, conky or htop do not show strange processes using CPU.
The phone is often very warm.
Thank you for the nice and well documented discussion.

b666m 2010-01-31 12:06

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by lasala (Post 476714)
Does anyone know that with pre PR.1.1 the Xorg logfile /tmp/Xord.0.log was set to -logverbose? It now is and i have been seeing constant cpu usage at 6%.

i tracked this problem for about 2 hours now.
it constantly uses 1 - 6 % in idle, mainly around 4 %.

if i do something the value raises to about 10 %.

any solutions?

b666m 2010-01-31 14:45

Re: PR1.1 and unusual battery drain (not wifi related)
 
killing the process reboots the n900.
(i knew this would be happening - but it was worth trying ^^... not)

Catacylsm 2010-01-31 15:28

Re: PR1.1 and unusual battery drain (not wifi related)
 
I also found that Xorg was constantly doing something, although i don't quite understand the process itself.

As for battery, i've only ever gotten 1 day total out of the device, but then i've been on the internet 12 hours a day running flash based content while i browse so i expect that.

CPU is strange with the device, but i wouldn't expect xorg to drain it too fast!

b666m 2010-01-31 15:42

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by Catacylsm (Post 503840)
CPU is strange with the device, but i wouldn't expect xorg to drain it too fast!

i fully charged the battery and had a look with "top" at the cpu usage every half hour. (unlock phone, start x-term, top, close x-term, lock phone)
and my battery is empty after 24 hours.

and i have to say:
the xorg log process is constantly running with about 4% cpu usage... and the other processes ALL TOGETHER with about 4 %...
so in my opinion the 4% are way too much for one process.
if this process would just use as much as the other (single) processes my battery would last TWICE the time it lasts now!!!

fezboy 2010-01-31 23:00

Re: PR1.1 and unusual battery drain (not wifi related)
 
i seem to be suffering from a similar battery drain problem, haven't yet investigated the cause but may do so tonight, turned on my phone yesterday morning around 10am, by 2pm it was down to a red battery indicator, i hadn't used the phone much only some light web browsing - ie 15-30 minutes tops, the phone had been connected to local wifi for most of this time. At 2pm I recharged the phone for the rest of the day made maybe 20 minutes of phone calls and also a bit more light browsing 15 minutes and the battery was almost drained come 10pm
obviously something is killing the battery just not sure what, this was probably the worst battery life i've experienced since receiving the phone

NvyUs 2010-01-31 23:08

Re: PR1.1 and unusual battery drain (not wifi related)
 
last night i flashed eMMC then flashed the PR 1.1 image so i could run new firmware from scratch for first time.
Any way since flashing the newest image and starting from clean today i got my first ever full day use on one charge and i still have 1/3 of the bar left.
I think we have all installed something what is really killing the battery b/c i cant see how new firmware could improve my battery by 12 hours alone

marmota 2010-02-01 08:28

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by NvyUs (Post 504374)
last night i flashed eMMC then flashed the PR 1.1 image so i could run new firmware from scratch for first time.
Any way since flashing the newest image and starting from clean today i got my first ever full day use on one charge and i still have 1/3 of the bar left.
I think we have all installed something what is really killing the battery b/c i cant see how new firmware could improve my battery by 12 hours alone

Yesterday I was thinking to reflash it to see if it could fix the problem. It seems it is a possible solution.

As mentioned in previous messages, the Xorg logfile /tmp/Xord.0.log is always running and using a lot of CPU. Is it doing so also after the reflash?

Thank you for all the information!

misterm 2010-02-01 17:30

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by b666m (Post 503643)
i tracked this problem for about 2 hours now.
it constantly uses 1 - 6 % in idle, mainly around 4 %.

if i do something the value raises to about 10 %.

any solutions?

That sounds normal. I have experienced a drain today. Fully loaded it yesterday, came to work today and in the afternoon it was almost empty. A few days ago, reading this thread I looked at CPU usage and mine is steadily around 15%. I saw another one in this thread being around that number. That isn't tight, right?

Could it be apps? I did install quite some and I'm deciding to get rid of them to be sure.

b666m 2010-02-01 17:37

Re: PR1.1 and unusual battery drain (not wifi related)
 
mhm... in idle the cpu usage is usually at 5 - 10%... and thereof xorg log uses 2 - 5% ://

slender 2010-02-01 17:55

Re: PR1.1 and unusual battery drain (not wifi related)
 
I would be suprised if xorg would not use any cpu :D
Itīs like backbone of your GUI.

Catacylsm 2010-02-01 17:56

Re: PR1.1 and unusual battery drain (not wifi related)
 
If i remember someone said the battery doesnt fully charge, it hits 90%. So what they did to solve this was pull the battery out, hold power button for 30 seconds, and put the battery back in, dont power up but it should start charging even further, can anyone confirm? or have tried this?

b666m 2010-02-01 18:09

Re: PR1.1 and unusual battery drain (not wifi related)
 
Quote:

Originally Posted by slender (Post 505469)
I would be suprised if xorg would not use any cpu :D
Itīs like backbone of your GUI.

but it wasn't that cpu-hungry before PR1.1?! o.O

someone mentioned that they have added the -logverbose option....

kwotski 2010-02-01 18:11

Re: PR1.1 and unusual battery drain (not wifi related)
 
I think it would be useful if people reportng xorg cpu usage stated whether it was obtained by running top from an ssh login, or via top viewed on the terminal running on the N900 gui (and therrefore itself using xorg cpu resource).

If the latter, one might expect true idle usage to be lower, of course


All times are GMT. The time now is 17:35.

vBulletin® Version 3.8.8