Sony laptop battery has odd behavior with 2.6.26-rc3ish build.
A couple days ago, I updated my test build to commit 8033c6e9736c29cce5f0d0abbca9a44dffb20c39 and noticed an odd behavior with the battery. If I unplug the power, the battery discharges and that is reflected in /proc/acpi/battery/BAT0/state. I am not certain the discharge is continuous and uniform or if it goes in steps. When I plug the power back in, the level stays at a constant value (+-1mAh) for a considerable period of time. It then does a single step back to the fully charged value.
I have not done any searching to see when this began. I had been running the ubuntu 2.6.22-14 kernel before this and the behavior was normal.
I am not certain what information you will need. Commit is above.
$ cat /proc/acpi/battery/BAT0/alarm alarm: unsupported $ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 4800 mAh last full capacity: 4096 mAh battery technology: non-rechargeable design voltage: 12588 mV design capacity warning: 1000 mAh design capacity low: 400 mAh capacity granularity 1: 100 mAh capacity granularity 2: 100 mAh model number: serial number: battery type: LiOn OEM info: Sony Corp. $ cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: charging present rate: unknown remaining capacity: 4096 mAh present voltage: unknown
What I think is relevant .config information:CONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_PROCFS=yCONFIG_ACPI_PROCFS_POWER=yCONFIG_ACPI_SYSFS_POWER=yCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=mCONFIG_ACPI_DOCK=mCONFIG_ACPI_BAY=mCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_THERMAL=mCONFIG_ACPI_WMI=mCONFIG_ACPI_ASUS=mCONFIG_ACPI_TOSHIBA=m
# CONFIG_ACPI_CUSTOM_DSDT is not setCONFIG_ACPI_BLACKLIST_YEAR=2000
# CONFIG_ACPI_DEBUG is not setCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=yCONFIG_ACPI_CONTAINER=mCONFIG_ACPI_SBS=mCONFIG_X86_ACPI_CPUFREQ=mCONFIG_X86_POWERNOW_K7_ACPI=yCONFIG_X86_POWERNOW_K8_ACPI=y
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not setCONFIG_HOTPLUG_PCI_ACPI=mCONFIG_HOTPLUG_PCI_ACPI_IBM=mCONFIG_PNPACPI=yCONFIG_THINKPAD_ACPI=m
# CONFIG_THINKPAD_ACPI_DEBUG is not setCONFIG_THINKPAD_ACPI_BAY=yCONFIG_THINKPAD_ACPI_VIDEO=yCONFIG_THINKPAD_ACPI_HOTKEY_POLL=yCONFIG_BLK_DEV_IDEACPI=yCONFIG_ATA_ACPI=yCONFIG_PATA_ACPI=mCONFIG_SONY_LAPTOP=mCONFIG_SONYPI_COMPAT=yCONFIG_SONYPI=m
Thanks,
Robin Holt
Could you please open bug report at bugzilla.kernel.org under ACPI/Battery and attach all the information to it?
dmesg might be helpful too.
Thanks,
Alex.
Quoted 85 lines · Robin Holt
A couple days ago, I updated my test build to commit
8033c6e9736c29cce5f0d0abbca9a44dffb20c39and noticed an odd behavior with the battery. If I unplug the power, the battery discharges and that is reflected in/proc/acpi/battery/BAT0/state. I am not certain the discharge is continuous and uniform or if it goes in steps. When I plug the power back in, the level stays at a constant value (+-1mAh) for a considerable period of time. It then does a single step back to the fully charged value.I have not done any searching to see when this began. I had been running the ubuntu 2.6.22-14 kernel before this and the behavior was normal.
I am not certain what information you will need. Commit is above.
$ cat /proc/acpi/battery/BAT0/alarm alarm: unsupported $ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 4800 mAh last full capacity: 4096 mAh battery technology: non-rechargeable design voltage: 12588 mV design capacity warning: 1000 mAh design capacity low: 400 mAh capacity granularity 1: 100 mAh capacity granularity 2: 100 mAh model number: serial number: battery type: LiOn OEM info: Sony Corp. $ cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: charging present rate: unknown remaining capacity: 4096 mAh present voltage: unknownWhat I think is relevant .config information:
CONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_PROCFS=yCONFIG_ACPI_PROCFS_POWER=yCONFIG_ACPI_SYSFS_POWER=yCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=mCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=mCONFIG_ACPI_DOCK=mCONFIG_ACPI_BAY=mCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_THERMAL=mCONFIG_ACPI_WMI=mCONFIG_ACPI_ASUS=mCONFIG_ACPI_TOSHIBA=m
#CONFIG_ACPI_CUSTOM_DSDTis not setCONFIG_ACPI_BLACKLIST_YEAR=2000
#CONFIG_ACPI_DEBUGis not setCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=yCONFIG_ACPI_CONTAINER=mCONFIG_ACPI_SBS=mCONFIG_X86_ACPI_CPUFREQ=mCONFIG_X86_POWERNOW_K7_ACPI=yCONFIG_X86_POWERNOW_K8_ACPI=y
#CONFIG_X86_ACPI_CPUFREQ_PROC_INTFis not setCONFIG_HOTPLUG_PCI_ACPI=mCONFIG_HOTPLUG_PCI_ACPI_IBM=mCONFIG_PNPACPI=yCONFIG_THINKPAD_ACPI=m
#CONFIG_THINKPAD_ACPI_DEBUGis not setCONFIG_THINKPAD_ACPI_BAY=yCONFIG_THINKPAD_ACPI_VIDEO=yCONFIG_THINKPAD_ACPI_HOTKEY_POLL=yCONFIG_BLK_DEV_IDEACPI=yCONFIG_ATA_ACPI=yCONFIG_PATA_ACPI=mCONFIG_SONY_LAPTOP=mCONFIG_SONYPI_COMPAT=yCONFIG_SONYPI=mThanks,
Robin Holt
Hi!
Quoted 9 lines
A couple days ago, I updated my test build to commit
8033c6e9736c29cce5f0d0abbca9a44dffb20c39and noticed an odd behavior with the battery. If I unplug the power, the battery discharges and that is reflected in/proc/acpi/battery/BAT0/state. I am not certain the discharge is continuous and uniform or if it goes in steps. When I plug the power back in, the level stays at a constant value (+-1mAh) for a considerable period of time. It then does a single step back to the fully charged value.
Quoted 4 lines
I have not done any searching to see when this began. I had been running the ubuntu 2.6.22-14 kernel before this and the behavior was normal.
I am not certain what information you will need. Commit is above.
git bisect would certainly help...
Quoted 7 lines
$ cat /proc/acpi/battery/BAT0/alarm alarm: unsupported $ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 4800 mAh last full capacity: 4096 mAh battery technology: non-rechargeable
Because something is clearly wrong here.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
I think this is my battery/laptop ACPI. I just booted back to 2.6.22-14 and the behavior remained the same. Interestingly, it started chaged to 4096mAh and I unplugged it. The battery began discharging. When it reached 3800mAh, I plugged it back in. The battery indicated it was charging, but remaining capacity slowly declined to 3072mAh where it stablized. Removing/Instaling the battery gave no change in behavior, upon reinsertion, the reading remained at 3072mAh. I then unplugged the charger. It was approx 35 seconds before the reading began to trickle back down. Again, it trickled down slowly (which it is doing currently).
Either it has always behaved this way and I just didn't notice it or something has changed inside my battery. I have not done any BIOS update in years (last one that was available).
Thanks,
Robin
Quoted 37 lines · Pavel Machek
Hi!
Quoted 9 lines
A couple days ago, I updated my test build to commit
8033c6e9736c29cce5f0d0abbca9a44dffb20c39and noticed an odd behavior with the battery. If I unplug the power, the battery discharges and that is reflected in/proc/acpi/battery/BAT0/state. I am not certain the discharge is continuous and uniform or if it goes in steps. When I plug the power back in, the level stays at a constant value (+-1mAh) for a considerable period of time. It then does a single step back to the fully charged value.Quoted 4 lines
I have not done any searching to see when this began. I had been running the ubuntu 2.6.22-14 kernel before this and the behavior was normal.
I am not certain what information you will need. Commit is above.
git bisect would certainly help...
Quoted 7 lines
$ cat /proc/acpi/battery/BAT0/alarm alarm: unsupported $ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 4800 mAh last full capacity: 4096 mAh battery technology: non-rechargeableBecause something is clearly wrong here.
Pavel
Signature · 7 lines
(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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Definitely the battery. I just rebooted to XP and did a similar experiment with their battery monitor and it behaved equivalently (although they present only percentages). So, I would say this is something unrelated and was just finally noticed because I was paying more attention.
Thanks,
Robin
Quoted 60 lines · Robin Holt
I think this is my battery/laptop ACPI. I just booted back to 2.6.22-14 and the behavior remained the same. Interestingly, it started chaged to 4096mAh and I unplugged it. The battery began discharging. When it reached 3800mAh, I plugged it back in. The battery indicated it was charging, but remaining capacity slowly declined to 3072mAh where it stablized. Removing/Instaling the battery gave no change in behavior, upon reinsertion, the reading remained at 3072mAh. I then unplugged the charger. It was approx 35 seconds before the reading began to trickle back down. Again, it trickled down slowly (which it is doing currently).
Either it has always behaved this way and I just didn't notice it or something has changed inside my battery. I have not done any BIOS update in years (last one that was available).
Thanks,
RobinQuoted 26 lines · Pavel Machek
Hi!
Quoted 9 lines
A couple days ago, I updated my test build to commit
8033c6e9736c29cce5f0d0abbca9a44dffb20c39and noticed an odd behavior with the battery. If I unplug the power, the battery discharges and that is reflected in/proc/acpi/battery/BAT0/state. I am not certain the discharge is continuous and uniform or if it goes in steps. When I plug the power back in, the level stays at a constant value (+-1mAh) for a considerable period of time. It then does a single step back to the fully charged value.Quoted 4 lines
I have not done any searching to see when this began. I had been running the ubuntu 2.6.22-14 kernel before this and the behavior was normal.
I am not certain what information you will need. Commit is above.
git bisect would certainly help...
Quoted 7 lines
$ cat /proc/acpi/battery/BAT0/alarm alarm: unsupported $ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 4800 mAh last full capacity: 4096 mAh battery technology: non-rechargeableQuoted 11 lines
Because something is clearly wrong here.
Pavel
Signature · 7 lines
(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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/