https://bugzilla.kernel.org/show_bug.cgi?id=26662


Len Brown <l...@kernel.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |l...@kernel.org
          Component|BIOS                        |Power-Battery
         AssignedTo|acpi_b...@kernel-bugs.osdl. |acpi_power-battery@kernel-b
                   |org                         |ugs.osdl.org




--- Comment #5 from Len Brown <l...@kernel.org>  2011-08-02 04:33:17 ---
            Name (BATI, Package (0x0D)
            {
                0x00,
                0x2710,
                0x2710,
                0x00,
                0xFFFFFFFF,
                0x03E8,
                0x01,
                0x64,
                0x64,
                "",
                "",
                "LiOn",
                "Sony Corp."
            })

According to the ACPI spec, _BIF.design_voltage = 0xFFFFFFFF
means "unknown design voltage"

/proc/acpi/battery/*/info:

present:                 yes
design capacity:         57240 mWh
last full capacity:      56930 mWh
battery technology:      non-rechargeable
design voltage:          119940 mV
design capacity warning: 1000 mWh
design capacity low:     1 mWh
cycle count:          0
capacity granularity 1:  100 mWh
capacity granularity 2:  100 mWh
model number:            
serial number:           
battery type:            LiOn
OEM info:                Sony Corp.

clearly 119940 mV is bogus -- but it also isn't 0xFFFFFFFF.

acpi_battery_print_info(struct seq_file *seq, int result)
        ...
        if (battery->design_voltage == ACPI_BATTERY_VALUE_UNKNOWN)
                seq_printf(seq, "design voltage:          unknown\n");
        else
                seq_printf(seq, "design voltage:          %d mV\n",
                           battery->design_voltage);


So we are not getting 0xFFFFFFFF for design_voltage,
we are getting something that we think is legal.

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

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to