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

            Bug ID: 60519
           Summary: Wrong battery information reported on Samsung NP540U3C
           Product: ACPI
           Version: 2.5
    Kernel Version: 2.6.34 and newer
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Power-Battery
          Assignee: acpi_power-batt...@kernel-bugs.osdl.org
          Reporter: jan.christian.hoffm...@gmail.com
        Regression: Yes

Created attachment 106809
  --> https://bugzilla.kernel.org/attachment.cgi?id=106809&action=edit
Output of acpidump

The battery information reported in sysfs is wrong since kernel 2.6.34. In
older versions the information is correct.

The affected device is a Samsung NP540U3C. The output of acpidump is attached.
These are the contents of /sys/class/power_supply/BAT1/uevent:

Correct information on 2.6.33:
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=7500000
POWER_SUPPLY_VOLTAGE_NOW=8638000
POWER_SUPPLY_CURRENT_NOW=0
POWER_SUPPLY_CHARGE_FULL_DESIGN=6890000
POWER_SUPPLY_CHARGE_FULL=6800000
POWER_SUPPLY_CHARGE_NOW=6800000
POWER_SUPPLY_MODEL_NAME=
POWER_SUPPLY_MANUFACTURER=SAMSUNG Electronics
POWER_SUPPLY_SERIAL_NUMBER=

Wrong information on 2.6.34:
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Unknown
POWER_SUPPLY_CYCLE_COUNT=204
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=1000
POWER_SUPPLY_VOLTAGE_NOW=8638000
POWER_SUPPLY_CURRENT_NOW=0
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=1000
POWER_SUPPLY_ENERGY_FULL=6890000
POWER_SUPPLY_ENERGY_NOW=6800000
POWER_SUPPLY_MODEL_NAME=
POWER_SUPPLY_MANUFACTURER=LION
POWER_SUPPLY_SERIAL_NUMBER=

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to