![]() |
Re: High Battery Consumption
Quote:
Quote:
|
Re: High Battery Consumption
Quote:
|
Re: High Battery Consumption
i did follow your procedure
offline mode battery out keep in offline mode wait 4 mins load xterm n power top run and lock screen wait 50 sec then copied n pasted?? after posting this i finished reading the thread and saw about flashlight extra doesnt uninstall all settings so done that rebooted and is now working good again |
Re: High Battery Consumption
@vi_ This is the output after exactly following the procedure specified by you.I am on kernel version 46.I have two homescreens.No flashlight.Disabled the OM weather widget before taking this.I have been having horrible battery life like 9 hrs max.I never complained though.please help me find out the culprit. Powertop 1.13.3
status: Unknown job: pmtrackerdaemon Sleeping for 11 seconds before sampling Collecting data for 30 seconds Sample interval was 30m 30s 28625us C# | Ratio | Avg/dura | Frequency | Ratio --------+--------+----------+-----------+--------+ C0 | 98.4% | | 1150 MHz | nan% | C1 | 0.0% | 0.8ms | C2 | 0.1% | 14.6ms | C3 | 0.2% | 56.2ms | C4 | 1.3% | 698.0ms | IRQ# | Activity | Type | Name --------+------------+----------------+--------------------------- 56 | 432 | INTC | i2c_omap 86 | 267 | INTC | mmc1 12 | 179 | INTC | DMA 37 | 98 | INTC | gp 11 | 66 | INTC | prcm 57 | 24 | INTC | i2c_omap 21 | 9 | INTC | SGX 225 | 1 | GPIO | omap2-onenand PID# | Activity | Name | Function Entry (Expire) --------+------------+----------------+--------------------------- 0 | 41 | <kernel core> | tick_nohz_restart_sched_tick (tick_sched_timer) 38 | 25D| awk | cpufreq_governor_dbs (delayed_work_timer_fn) 0 | 20 | <kernel core> | hrtimer_start (tick_sched_timer) 1548 | 19 | osso-xterm | schedule_hrtimeout_range (hrtimer_wakeup) 584 | 13 | mmcqd | queue_delayed_work (delayed_work_timer_fn) 706 | 6 | bme_RX-51 | sys_timer_settime (posix_timer_fn) 844 | 4 | Xorg | queue_delayed_work (delayed_work_timer_fn) 803 | 3 | sgx_perf | queue_delayed_work (delayed_work_timer_fn) 30 | 3 | mount | setup_wb_timer (wb_timer_fn) 1533 | 2 | pdflush | blk_plug_device (blk_unplug_timeout) 771 | 2 | mce | schedule_hrtimeout_range (hrtimer_wakeup) 666 | 2 | dsme | do_nanosleep (hrtimer_wakeup) 666 | 2 | dsme | __enqueue_rt_entity (sched_rt_period_timer) 706 | 2 | bme_RX-51 | sys_timer_settime (posix_timer_fn) 706 | 2 | bme_RX-51 | do_nanosleep (hrtimer_wakeup) 706 | 2 | bme_RX-51 | schedule_timeout (process_timeout) 695 | 2D|<kernel module> | queue_delayed_work (delayed_work_timer_fn) 1 | 2D| <kernel core> | queue_delayed_work (delayed_work_timer_fn) 844 | 1 | Xorg | hrtimer_start (it_real_fn) 1323 | 1 |mafw-dbus-wrapp | queue_delayed_work (delayed_work_timer_fn) 1502 | 1 | browserd | futex_wait (hrtimer_wakeup) 1441 | 1 |tracker-indexer | schedule_hrtimeout_range (hrtimer_wakeup) 1441 | 1 |tracker-indexer | journal_get_write_access (commit_timeout) 1533 | 1 | pdflush | journal_get_write_access (commit_timeout) 1554 | 1 | powertop | do_nanosleep (hrtimer_wakeup) Power domain activity breakdown Domain | % of time spent in states --------+---------+---------+---------+---------+---------- usbhost |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) sgx |OFF: 97%|RET: 0%|INA: 0%| ON: 2%| now:(OFF) per |OFF: 86%|RET: 12%|INA: 0%| ON: 1%| now:(ON) dss |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) cam |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) core |OFF: 79%|RET: 5%|INA: 0%| ON: 15%| now:(ON) neon |OFF: 81%|RET: 10%|INA: 7%| ON: 1%| now:(ON) mpu |OFF: 81%|RET: 10%|INA: 7%| ON: 1%| now:(ON) iva2 |OFF: 100%|RET: 0%|INA: 0%| ON: 0%| now:(OFF) Clock activity breakdown at end of period Domain | Active clocks --------+---------------+---------------+------------------ core | SDRC | HSOTGUSB_IDLE | OMAPCTRL | MAILBOXES | wkup | GPT1 | 32KSYNC | GPIO1 | WDT1 | ckgen | CORE | PERI | 96M | 48M | 12M | 54M | EMU_CORE | per | GPIO2 | GPIO3 | GPIO4 | GPIO5 | GPIO6 | Total wakeups 1235, 41.2/s | IRQ 1076, 35.9/s | Timers 159, 5.3/s HW wakeups 66, 2.2/s | Real gp_timers expired 98, 3.3/s cheers. |
Re: High Battery Consumption
If you enclose copy+paste from terminal, please use CODE-tags, like below:
Quote:
|
Re: High Battery Consumption
@zimon
i googled for how to code-tag just like you said but got nothing.i copied from terminal and i pasted it to notes in my device and from there posted here.please give an idea. regards |
Re: High Battery Consumption
Try the new battery workwd fine ,see the links my thread:
http://www.mugen-power-batteries.com.../view/id/1357/ |
Re: High Battery Consumption
If you click "quote&Reply" on my previous post, you will see how CODE-tags are used. Also if you use [Go Advanced] there is "#"-button which will bring the CODE-start and -end tags.
In your powertop output it shows your CPU is active ("98.4%") almost whole 30s time. So something is running. You could try to see with top or with htop what process is running in the background. |
Re: High Battery Consumption
@Thank for your kind answer.As of now i have flashed it.using very limited apps like
1.queen beecon 2.f-aircrack 3.pen pen ,conboy 4.vnc viewer 5.auto dis connect,simple brightness app. Now i have put into re use -smartreflex since 7.45 pm to 11.45 pm phone lost 4 percent of charging till now.at present happy with that.will see what happens. |
Re: High Battery Consumption
install battery graph and install 5 or so apps every 2 days or so
in your idle time (sleeping) battery graph shouldnt display many (if any) purple bars if its all good install next lot of apps |
Re: High Battery Consumption
Uninstalled catorize - had no idea it could cause battery issues until I read the forums - and battery life significantly improved.
Here's a battery graph from yesterday, just for reference. With no use and internet connection off your phone shouldn't use more than 10-15% of battery per 24 hours. (I guess?) I bought my phone when N900 came out, 15 months ago or so, and it's been in heavy use ever since. I'm quite happy with how well the battery still performs. (The little notch there is from actual phone use.) http://koshiyoka.biz/juhgu/temp/n900battery.png |
Re: High Battery Consumption
hi guys,
my battery lasts less and less in the last time can someone check my powertop output? ( Offline Modus after an Restart ) btw. what the hell is the fmtx process while in offline modus? cheers Code:
Nokia-N900:~# powertop |
Re: High Battery Consumption
Quote:
|
Re: High Battery Consumption
hi,
i have tested my device after a power-cycle (with battery removal). the results are more than depressing. i can't say that kp49 is 100% responsible for this. so if it's so, sorry for off topic, but maybe someone can help me to get a working device back. i have charged my device till 19:00, the battery lasts till 04:00 9 hours in offline mode with obviously no cpu usage and no usage what the hell is going on with me device? http://www.id-t.at/data/kp49-2.png i performed powertop befor testing, the output seems more than nice: Code:
Nokia-N900:~# powertop |
Re: High Battery Consumption
^ kp 49 was responsible in my case.
had no problems with 48 |
Re: High Battery Consumption in Standby
and what was your solution?
|
Re: High Battery Consumption in Standby
First off all make sure you have 'pastebinit' installed (apt-get install pastebinit)
1. Put device in offline mode. 2. Turn off device. 3. Remove battery. 4. Insert battery. 5. Power on. 6. Stay in offline mode. 7. Wait 4 minutes (for device to settle). 8. Run this code as root: Code:
sleep 10; powertop > ./out; powertop >> ./out; powertop >> ./out10. Connect to the internet and type in: Code:
pastebinit ./out |
Re: High Battery Consumption in Standby
THEN, remove kernel-power-settings and do the same again.
Post results. |
Re: High Battery Consumption in Standby
Quote:
# per |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON) # core |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON) # iva2 |OFF: 0%|RET: 0%|INA: 0%| ON: 100%| now:(ON) WTF? |
Re: High Battery Consumption in Standby
2.6.28.10-power49 with kernel-power-settings
http://pastebin.com/tH0A89yJ 2.6.28.10-power49 without kernel-power-settings http://pastebin.com/59M1Z1uf 2.6.28-omap1 http://pastebin.com/gpNkK62D |
Re: High Battery Consumption in Standby
You can stop now, we have located the problem.
With KP settings: Code:
C# | Ratio | Avg/dura | Frequency | RatioCode:
Power domain activity breakdownCode:
Total wakeups 520, 17.3/s | IRQ 404, 13.5/s | Timers 116, 3.9/sCode:
C# | Ratio | Avg/dura | Frequency | RatioCode:
Power domain activity breakdownCode:
Total wakeups 276, 9.2/s | IRQ 225, 7.5/s | Timers 51, 1.7/sYou will notice while the results are not that significantly different, there is a shitload more DMA activity and IRQing going on when KP-settings is installed. While the CPU is not hammering some hardware on the n900 is. Notice the extra 100% ONs in the power domain table for with KP settings. Also, 2900mS sleep? HOLY ****! ultimate power saving! There is an ancient bug in KP settings. I had issues with KP settings since version 26. I never figured out why it caused all these wake ups I just know in some circumstances it does. This is why I do not use KP settings. I have the script extracted from the deb so I can quickly load/unload settings but it does not do the whole startup thing, I do that from an Xsession script. |
Re: High Battery Consumption in Standby
Quote:
Anyway the evidence is clear. Remove KP settings, problem goes away. Re-install KP settings and it may eventually sometime come back. I mentioned it around 1 year ago, no one cared. I just stopped using KP settings and thought nothing more of it after that. |
Re: High Battery Consumption in Standby
vi_ you are the man, big thanks !! you make me laugh with some of your explanations :)
"Also, 2900mS sleep? HOLY ****! ultimate power saving!" :D:D i have some questions: - do you use kernel power? - what brings me kernel power without kernel settings for the device performance? - is it possible to oc the device and do the smart reflex thing without settings? btw. thanks man! |
Re: High Battery Consumption in Standby
yes kernel49 consumes battery more than power48. my phone dropped 7% battery in 8 hours. my phone was in stand by mode and also offline mode was activated. i haven't had any issue like this in kp48.
|
Re: High Battery Consumption in Standby
Quote:
|
Re: High Battery Consumption in Standby
Quote:
Of course, the things pali and freeman have achieved recently make it essential for me. - what brings me kernel power without kernel settings for the device performance? If you copy the kernel power kernel-config script. For example copy kernel-config to a file called kernel in /usr/bin or something (be extremely careful or you will braek everything!) then un-install KP-settings you will still have kernel-config (now called kernel) available. The difference is it will not load at boot time. PROCEED WITH CAUTION! Only do the following if you KNOW your OC settings will not crash your device or you may endup with a boot-loop! edit /etc/pmconfig. Here you can set your max/min clock speed and SR. As for setting allowed freqs and DSP freqs you need to stick a script in either event.d or Xsession that echos the appropriate values to the appropriate places. I used xsession, however you could just hi-jack an event.d script like the non gui swappolube event. - is it possible to oc the device and do the smart reflex thing without settings? See above. However I must add none of this is compatible with anything else that muddles with your kernel settings (i.e. battery patch script and speed patch script). |
Re: High Battery Consumption in Standby
Quote:
|
Re: High Battery Consumption in Standby
Quote:
must get kp48 |
Re: High Battery Consumption in Standby
i extracted "kernel-config" and "dsp" from the kernel-power-settings_0.13_armel.deb
i copied kernel-config and dsp to my device, ok! and how must look my event.d file or the xsession file ( didn't do this before ) to load "kernel-config" and "dsp" on start up? |
Re: High Battery Consumption in Standby
I AM IN NO WAY RESPONSIBLE FOR ANYTHING THAT OCCURS BY YOU FOLLOWING THESE INSTRUCTIONS! AT YOUR OWN RISK.
Well if you have extracted 'kernel-config' make a copy of it somwhere then uninstall KP-settings. Then copy kernel-config to /usr/bin. Check kernel-config still works after uninstalling KP settings. Check Your device can handle your 'dsp' profile ( no reboots etc). If that works then as root enter this: Code:
echo "#!/bin/sh" > /etc/X11/Xsession.post/80kernel-config |
Re: High Battery Consumption in Standby
ok, i do it on my own risk :)
kernel-config is normaly stored in /usr/sbin should i save it to .../bin or .../sbin? |
Re: High Battery Consumption in Standby
If it is normally in /usr/sbin you should copy the new version (after uninstallation) to /usr/sbin.
|
Re: High Battery Consumption in Standby
also make sure /etc/X11/Xsession.post/80kernel_config is executable...
|
Re: High Battery Consumption in Standby
i saved the kernel-config file to /usr/sbin
chmod +rwx /usr/sbin/kernel-config i saved the the frequency schemes to /usr/share/kernel-power-settings and then i executed: Code:
echo "#!/bin/sh" > /etc/X11/Xsession.post/80kernel-configbut the problem with the ON things are still there see... http://pastebin.com/6bUbe13X |
Re: High Battery Consumption in Standby
And KP settings is DEFINITELY uninstalled?
Um, wait, wtf? Why when you are doing the procedure is fmtxd and mv running? |
Re: High Battery Consumption in Standby
i didn't install KP settings since i uninstalled it today for the powertop things.
i downloaded the .deb file from meamo packages and extracted the kernel-config file and the frequency scheme! it seems that kernel-config alone is responsible for the ON things |
Re: High Battery Consumption in Standby
is it possible to overclock by editing the /etc/pmconfig and loading a frequency scheme from kernel-power?
or is it possible to edit the /etc/default/kernel-power file as i like |
Re: High Battery Consumption in Standby
I have this in a script that is triggered by /etc/X11/Xsession.post/. Just modify your xsession.post/50kernel_config to launch this script.
Obviously alter the script to reflect your own needs. Code:
#!/bin/sh |
Re: High Battery Consumption in Standby
hey vi_ i build my own Xsession Script, maybe you can proofreading it for me before i will test it on my device?!
i tried to put all things from the kernel-settings dsp profile in the xsession script: Code:
echo "250000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freqCode:
MINFREQ=250 |
Re: High Battery Consumption in Standby
Quote:
Set smartreflex in /etc/pmconfig. Other wise it is fine. You can set almost everything from pmconfig. You no longer need to set voltage values as SR will do it for you. Just make sure the script runs with no errors before you set it to start automatically from xsession.post. Also, just use xsession to start your script. Stick you script elsewhere. |
| All times are GMT. The time now is 18:18. |
vBulletin® Version 3.8.8