maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pybattery - battery statusbar applet with candies (https://talk.maemo.org/showthread.php?t=24905)

412b 2008-11-13 14:15

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by tso (Post 241549)
nice, looks like it fixed the problem.

but as activating the menu will just bump the cpu up to 400, and the content of the menu cant be refreshed in real-time, its content is somewhat useless...

When the menu is popping up it's updated, so some time needed to get battery value, free RAM value, internal temperature and uptime. Real-time updating wasn't planned because of CPU usage, it can be implemented, but IMO it's quite useless. If it's really needed, it can be added in .24/.26 stables.

lm2 2008-11-13 14:44

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by 412b (Post 241651)
B]There's a big bad bug.[/B] CPU works at 400MHz on my n810, when I turn the sound on... It's strange... Damn strange... Some feedback about it on other devices is needed.

Thanks for the heads up. I was losing 3% every five minutes at idle. But I wasn't sure how to read the info presented. But I guess "CPUFreq: 400MHz" suggests I have the same problem as you.

Is there a way to check what the CPU is at without Advanced Battery? Some cli method? I'd be curious to know what it's at with Advanced Battery disabled.

dkwatts 2008-11-13 14:48

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by lm2 (Post 241663)
Thanks for the heads up. I was losing 3% every five minutes at idle. But I wasn't sure how to read the info presented. But I guess "CPUFreq: 400MHz" suggests I have the same problem as you.

Is there a way to check what the CPU is at without Advanced Battery? Some cli method? I'd be curious to know what it's at with Advanced Battery disabled.

Just installed HomeCPUSpeed

412b 2008-11-13 14:54

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by lm2 (Post 241663)
Thanks for the heads up. I was losing 3% every five minutes at idle. But I wasn't sure how to read the info presented. But I guess "CPUFreq: 400MHz" suggests I have the same problem as you.

Is there a way to check what the CPU is at without Advanced Battery? Some cli method? I'd be curious to know what it's at with Advanced Battery disabled.

Yep. Just run
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

lm2 2008-11-13 15:00

Re: Pybattery - battery statusbar applet with candies
 
xterm gave output: 165000.

Can I assume this is less than when Advanced Battery reports 400MHz?

412b 2008-11-13 15:02

Re: Pybattery - battery statusbar applet with candies
 
Nope. Advanced Power reads its frequency from that file. If you choose (with sound off) e.g. powersave governor in AP and wait a while it gonna show 165MHz.

lm2 2008-11-13 15:05

Re: Pybattery - battery statusbar applet with candies
 
So, AP is set to "On Demand" and reads "CPUFreq: 400Mhz". But cli method outputs 165000.

I've tried it three times. Same divergent results.

lm2 2008-11-13 15:07

Re: Pybattery - battery statusbar applet with candies
 
But, you're right, if I change to powersave, both say 165000. Why is this?

lcuk 2008-11-13 15:09

Re: Pybattery - battery statusbar applet with candies
 
lm2, running ondemand will speed the cpu up to 400 as demand increases over some present %age.

running a python GUI app tiself may trigger the increase and push cpu to 400mhz for reading the value.

using the command line is typically a LOT less strain on the system so the cpu will sit idle and be on slowest speed.

powersave should show 165 all the time, on demand should be variable, perforance should show 400 all the time.

lm2 2008-11-13 15:12

Re: Pybattery - battery statusbar applet with candies
 
Thanks. Which setting does the tablet use default out of the box. I had assumed it was Ondemand, simply because qole's turbo debian gives two options: ondemand and performance.


All times are GMT. The time now is 00:41.

vBulletin® Version 3.8.8