All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Powertop] Lenovo T530 battery saving
@ 2013-08-13 17:22 Srinivas Pandruvada
  0 siblings, 0 replies; 3+ messages in thread
From: Srinivas Pandruvada @ 2013-08-13 17:22 UTC (permalink / raw)
  To: powertop

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

On 08/13/2013 09:36 AM, Marc MERLIN wrote:
> Mmmh, is there anyone here? Should I be sending this elsewhere?
>
> Thanks,
> Marc
>
> On Fri, Aug 02, 2013 at 10:27:38AM -0700, Marc MERLIN wrote:
>> 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.
>>
>> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Powertop] Lenovo T530 battery saving
@ 2013-08-13 16:36 Marc MERLIN
  0 siblings, 0 replies; 3+ messages in thread
From: Marc MERLIN @ 2013-08-13 16:36 UTC (permalink / raw)
  To: powertop

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

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

Thanks,
Marc

On Fri, Aug 02, 2013 at 10:27:38AM -0700, Marc MERLIN wrote:
> 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

-- 
"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/  

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Powertop] Lenovo T530 battery saving
@ 2013-08-02 17:27 Marc MERLIN
  0 siblings, 0 replies; 3+ messages in thread
From: Marc MERLIN @ 2013-08-02 17:27 UTC (permalink / raw)
  To: powertop

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

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
-- 
"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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-13 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-13 17:22 [Powertop] Lenovo T530 battery saving Srinivas Pandruvada
  -- strict thread matches above, loose matches on Subject: below --
2013-08-13 16:36 Marc MERLIN
2013-08-02 17:27 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.