Skip to contentSkip to conversation

Lenovo T530 battery saving

Powertop Marc MERLIN 2 participants 4 messages Aug 2, 2013 – Aug 13, 2013

lore
Share & tools
lore

Marc MERLIN

author
#0 lore raw

Both powertop 2.1 and now powertop 2.4 tell me my onboard laptop camera is burning battery.
This is a lenovo T530 with kernel 3.9.5.

However, I've unloaded the module and that doesn't help:

To save battery, I do:
ifconfig eth0 down
for i in videobuf2_core uvcvideo videodev e1000e
do
rmmod $i
done

The battery reports a discharge rate of 14.5 W The estimated remaining time is 2 hours, 8 minutes

Summary: 681.7 wakeups/second, 2.0 GPU ops/seconds, 0.0 VFS ops/sec and 19.4% CPU use

Power est. Usage Events/s Category Description

  6.13 W     73.3%                      Device         Display backlight
  3.08 W    100.0%                      Device         USB device: Integrated Camera (Chicony Electronics Co., Ltd.)
 71.2 mW    149.9 ms/s     240.0        Process        /usr/bin/enlightenment

24.0 mW 175.6 µs/s 144.5 Timer menu_hrtimer_notify
12.5 mW 1.0 ms/s 75.5 kWork od_dbs_timer
12.1 mW 98.3 µs/s 72.9 Process [kworker/2:0]

Yet, powertop is still showing this below which is still visible in lsusb after I unload uvcvideo:
Bus 003 Device 004: ID 04f2:b2ea Chicony Electronics Co., Ltd

I often have the same problem with my audio device too:
1.88 W 100.0% Device Audio codec alsa:hwC0D0: thinkpad (Realtek)

Thankfully unloading some modules seems to fix this:
for i in snd_hda_intel snd_hda_codec_realtek snd_hda_codec snd_hwdep; do rmmod $i; done

Any idea how I can stop the camera from sucking power since unloading the module isn't enough?

Thanks,
Marc

Signature · 4 lines
"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/
author
#1 lore raw

[Powertop] Powertop 2.4 reports kW usage

This went away after I restarted powertop (it had been running for a while). Sounds like some counter wraps or something goes wrong after multiple hours of runtime.

PowerTOP 2.4 Overview Idle stats Frequency stats Device stats Tunables
The battery reports a discharge rate of 14.8 W The estimated remaining time is 5 hours, 6 minutes

Summary: 721.7 wakeups/second, 4.6 GPU ops/seconds, 0.0 VFS ops/sec and 14.7% CPU use

Power est. Usage Events/s Category Description

 20.1 kW    101.2 ms/s     299.5        Process        /usr/bin/enlightenment
 4.32 kW     27.9 ms/s       1.8        Process        /usr/bin/X :0 vt7 -br
   142 W      0.7 ms/s       8.8        Process        gvim /home/merlin/l
  7.29 W    100.0%                      Device         USB device: Integrated Camera
  4.99 W     22.8 µs/s      0.30        Process        xscreensaver
  2.51 W    120.2 µs/s       1.9        Process        xfce4-terminal -T window9
  1.33 W     73.3%                      Device         Display backlight
 8.54 mW      5.0 ms/s      48.2        Interrupt      [7] sched(softirq)
Signature · 4 lines
"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/
author
#2 lore raw
In reply to Marc MERLIN

Mmmh, is there anyone here? Should I be sending this elsewhere?

Thanks,
Marc

Quoted 42 lines · Marc MERLIN

Both powertop 2.1 and now powertop 2.4 tell me my onboard laptop camera is burning battery.
This is a lenovo T530 with kernel 3.9.5.

However, I've unloaded the module and that doesn't help:

To save battery, I do:
ifconfig eth0 down
for i in videobuf2_core uvcvideo videodev e1000e
do
rmmod $i
done

The battery reports a discharge rate of 14.5 W The estimated remaining time is 2 hours, 8 minutes

Summary: 681.7 wakeups/second, 2.0 GPU ops/seconds, 0.0 VFS ops/sec and 19.4% CPU use

Power est. Usage Events/s Category Description

  6.13 W     73.3%                      Device         Display backlight
  3.08 W    100.0%                      Device         USB device: Integrated Camera (Chicony Electronics Co., Ltd.)
 71.2 mW    149.9 ms/s     240.0        Process        /usr/bin/enlightenment

24.0 mW 175.6 µs/s 144.5 Timer menu_hrtimer_notify
12.5 mW 1.0 ms/s 75.5 kWork od_dbs_timer
12.1 mW 98.3 µs/s 72.9 Process [kworker/2:0]

Yet, powertop is still showing this below which is still visible in lsusb after I unload uvcvideo:
Bus 003 Device 004: ID 04f2:b2ea Chicony Electronics Co., Ltd

I often have the same problem with my audio device too:
1.88 W 100.0% Device Audio codec alsa:hwC0D0: thinkpad (Realtek)

Thankfully unloading some modules seems to fix this:
for i in snd_hda_intel snd_hda_codec_realtek snd_hda_codec snd_hwdep; do rmmod $i; done

Any idea how I can stop the camera from sucking power since unloading the module isn't enough?

Thanks,
Marc

Signature · 4 lines
"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/  
#3 lore raw
Quoted 37 lines · Marc MERLIN

Mmmh, is there anyone here? Should I be sending this elsewhere?

Thanks,
Marc

Quoted 31 lines · Marc MERLIN

Both powertop 2.1 and now powertop 2.4 tell me my onboard laptop camera is burning battery.
This is a lenovo T530 with kernel 3.9.5.

However, I've unloaded the module and that doesn't help:

To save battery, I do:
ifconfig eth0 down
for i in videobuf2_core uvcvideo videodev e1000e
do
rmmod $i
done

The battery reports a discharge rate of 14.5 W The estimated remaining time is 2 hours, 8 minutes

Summary: 681.7 wakeups/second, 2.0 GPU ops/seconds, 0.0 VFS ops/sec and 19.4% CPU use

Power est. Usage Events/s Category Description

   6.13 W     73.3%                      Device         Display backlight
   3.08 W    100.0%                      Device         USB device: Integrated Camera (Chicony Electronics Co., Ltd.)
  71.2 mW    149.9 ms/s     240.0        Process        /usr/bin/enlightenment

24.0 mW 175.6 µs/s 144.5 Timer menu_hrtimer_notify
12.5 mW 1.0 ms/s 75.5 kWork od_dbs_timer
12.1 mW 98.3 µs/s 72.9 Process [kworker/2:0]

Yet, powertop is still showing this below which is still visible in lsusb after I unload uvcvideo:
Bus 003 Device 004: ID 04f2:b2ea Chicony Electronics Co., Ltd

Unload module doesn't stop usb to enumerate the device. You should check with lsmod | grep "your module".
It is possible that BIOS power up this camera. So you should check any driver update for this, which sends some power down command to camera.

Quoted 11 lines
Quoted 11 lines

I often have the same problem with my audio device too:
1.88 W 100.0% Device Audio codec alsa:hwC0D0: thinkpad (Realtek)

Thankfully unloading some modules seems to fix this:
for i in snd_hda_intel snd_hda_codec_realtek snd_hda_codec snd_hwdep; do rmmod $i; done

Any idea how I can stop the camera from sucking power since unloading the module isn't enough?

Thanks,
Marc