http://bugzilla.kernel.org/show_bug.cgi?id=13410

           Summary: Switching batteries during suspend gives bogus values
                    for BATx/info
           Product: ACPI
           Version: 2.5
    Kernel Version: 2.6.29
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Battery
        AssignedTo: acpi_power-batt...@kernel-bugs.osdl.org
        ReportedBy: jacopods+ker...@gmail.com
        Regression: No


I have two batteries, a 6-cells and a 12-cells; I suspended to ram (tuxonice)
with the 6-cells, plugged in the AC-adaptor, switched to the 12-cells (which
was nearly empty), when it was fully charged I resumed and this is what I
obtain:

# cat /proc/acpi/battery/BAT0/state
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            0 mA
remaining capacity:      7223 mAh
present voltage:         11705 mV

# cat /proc/acpi/battery/BAT0/info
present:                 yes
design capacity:         5100 mAh
last full capacity:      2507 mAh
battery technology:      rechargeable
design voltage:          10800 mV
design capacity warning: 125 mAh
design capacity low:     87 mAh
capacity granularity 1:  38 mAh
capacity granularity 2:  2382 mAh

Notice that the design capacity should be 8800 mAh

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to