Package: acpi
Version: 1.4-2
Severity: wishlist

Hi,

Consider this commit from the Linux-2.6 tree:

commit 7faa144a518c456e2057918f030f50100144ccc6
Author: Alexey Starikovskiy <[email protected]>
Date:   Fri Mar 27 22:23:52 2009 -0400

    ACPI: battery: add power_{now,avg} properties to power_class
    
    ACPI has smart batteries, which work in units of energy and measure
    rate of (dis)charge as power, thus it is not appropriate to export it
    as a current_now. Current_now will still be exported to allow
    for userland applications to match.
    
    Signed-off-by: Alexey Starikovskiy <[email protected]>
    Signed-off-by: Len Brown <[email protected]>

Thus Linux 2.6.30 exports both power_now and current_now containing the same
value.  However, the latter is not correct and will get deprecated sooner or
later, so please start preferring (reading) the former.

Thanks,
Feri.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc5 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to