Re: [RFC][PATCH 12/12] PM / r8169: Add simplified run-time PMsupport

From: Pavel Machek
Date: Sun Dec 27 2009 - 15:02:20 EST


On Sun 2009-12-27 20:48:37, Rafael J. Wysocki wrote:
> On Tuesday 15 December 2009, Pavel Machek wrote:
> > Hi!
> >
> > > Use the PCI run-time power management framework to add simplified
> > > run-time PM support to the r8169 driver. Namely, make the driver
> > > suspend the device when the link is off and set it up for generating
> > > wake-up event after the link has been detected again.
> >
> > Nice!
> >
> > Do you have any idea how much power it saves?
>
> No, but there should be a power meter somewhere here ...
>
> I'll let you know if I can find it.

On notebooks, you can often use

pavel@amd:/data/l/linux-msm/arch/arm/mach-msm$ cat
/proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mW
remaining capacity: 71830 mWh
present voltage: 16277 mV

...present rate is often usable-enough.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/