All of lore.kernel.org
 help / color / mirror / Atom feed
* [Powertop] powertop 2.6 still reports incorrect device battery usage
@ 2014-08-21 20:49 Marc MERLIN
  0 siblings, 0 replies; only message in thread
From: Marc MERLIN @ 2014-08-21 20:49 UTC (permalink / raw)
  To: powertop

[-- Attachment #1: Type: text/plain, Size: 2652 bytes --]

On kernel 3.15.5, thinkpad T540p IDPS display, intel graphics

I'm still getting bogus numbers for devices.

Snapshot #1: 
- My wifi card is certainly not using 12.7W
- Display backlight + wifi = 17.9W, which means the entire laptop
  would be running on 2W? That's of course wrong
- The 1117 wakeups are not accounted for and apps blamed correctly for
  that use

> The battery reports a discharge rate of 19.8 W
> The estimated remaining time is 2 hours, 37 minutes
> 
> Summary: 1117.0 wakeups/second,  182.7 GPU ops/seconds, 0.0 VFS ops/sec and 9.0% CPU use
> 
> Power est.              Usage       Events/s    Category       Description
>   12.7 W     36.3 pkts/s                Device         Network interface: wlan0 (iwlwifi)
>   5.17 W      8.0%                      Device         Display backlight
>   322 mW     25.0 ms/s     331.3        Process        /usr/bin/enlightenment
>   179 mW     19.7 ms/s      60.7        Process        /usr/bin/X :0 vt7 -br -nolisten tcp -auth
>   178 mW      4.8 ms/s     246.2        Process        xmms

I blew away my calibration, upgraded from powertop 2.4 to 2.6.1, and now
I see:
The battery reports a discharge rate of 17.6 W
The estimated remaining time is 5 hours, 10 minutes

Summary: 893.0 wakeups/second,  26.4 GPU ops/seconds, 0.0 VFS ops/sec and 11.3% CPU use

Power est.              Usage       Events/s    Category       Description
  18.7 W    216.8 pkts/s                Device         Network interface: wlan0 (iwlwifi)
  5.16 W     33.0%                      Device         Display backlight
 61.0 mW     35.8 ms/s      86.5        Process        dpkg
 39.4 mW      1.6 ms/s      24.9        Process        xfce4-terminal -T window1.10 --role=window1.10 --tab
 35.6 mW      8.2 ms/s     133.2        kWork          normal_work_helper


How can powertop tell me that my wireless card is using more power than
the entire laptop?

Clearly the calibration didn't work right, but shouldn't the code have checks
for things that are clearly wrong and tell the user what to do to fix them/recalibrate?

Or better, shouldn't it retune the device usage on its own when it finds
something clearly wrong like power use of the laptop being negative
after removing devices, or inconsistent with the basic power usage
calculated during calibration?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-21 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-21 20:49 [Powertop] powertop 2.6 still reports incorrect device battery usage Marc MERLIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.