From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754549AbYE1LxF (ORCPT ); Wed, 28 May 2008 07:53:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752654AbYE1Lwz (ORCPT ); Wed, 28 May 2008 07:52:55 -0400 Received: from smtp-02.mandic.com.br ([200.225.81.133]:44831 "EHLO smtp-02.mandic.com.br" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750957AbYE1Lwy (ORCPT ); Wed, 28 May 2008 07:52:54 -0400 Message-ID: <483D478F.9080503@diamondcut.com.br> Date: Wed, 28 May 2008 08:52:47 -0300 From: "Renato S. Yamane" User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: linux-kernel@vger.kernel.org CC: Arjan van de Ven Subject: Re: [Bug 10797] Something is consuming power after shutdown References: <483AB443.6020807@diamondcut.com.br> <20080526084458.6acce426@infradead.org> <483AE59A.9080700@diamondcut.com.br> In-Reply-To: <483AE59A.9080700@diamondcut.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Renato S. Yamane wrote: > Arjan van de Ven wrote: >> "Renato S. Yamane" wrote: >>> After poweroff, something still working and consuming power. So I >>> loss ~4% of my battery charge in each 12h. >> >> the most obvious cause could be Wake-on-Lan, that leaves a part of the >> system active (specifically, the network card). With the "ethtool" >> program you can queary and set the state of this. > > My network card have option WOL "disabled" > > # ethtool eth0 | grep Wake > Supports Wake-on: pg > Wake-on: d > >> Similarly, but less likely, there is wake-on-serial and wake-on-usb, in >> theory those are possible too but I've yet to see one of those on any >> of my machines. > > # cat /proc/acpi/wakeup > Device S-state Status Sysfs node > LID0 S4 *enabled > RP01 S4 disabled pci:0000:00:1c.0 > RP02 S4 disabled pci:0000:00:1c.1 > RP03 S4 disabled > RP04 S4 disabled > USB1 S0 disabled pci:0000:00:1d.0 > USB2 S0 disabled pci:0000:00:1d.1 > USB3 S0 disabled pci:0000:00:1d.2 > USB4 S0 disabled pci:0000:00:1d.3 > USB7 S0 disabled pci:0000:00:1d.7 > MODM S4 disabled pci:0000:00:1e.3 > PS2K S4 disabled pnp:00:07 I test two times as commented in [1] and I can see that this problem don't hapen if, before shutdown, I close LCD Display (activing LID to hibernate). [1] So, to shutdown laptop with no battery change, is necessary: 1) Active LID (closing LCD Display). With this, my laptop will hibernate, so is necessary wake-up again. 2) Shutdown Best regards, Renato S. Yamane