[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
toddh, as per http://esupport.sony.com/US/p/model- home.pl?mdl=VPCEB13FX&template_id=1®ion_id=1&tab=download#/downloadTab an update is available for your BIOS (R0300Y8). If you update to this, does it change anything? If not, could you please both specify what happened, and provide the output of the following terminal command: sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date Thank you for your understanding. ** Tags removed: kernel-bug-exists-upstream ** Tags added: bios-outdated-r0300y8 kernel-bug-exists-upstream-v3.9-rc7 needs-upstream-testing regression-potential ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Summary changed: - Battery charging at zero rate - will never fully charge + [SONY VAIO VPCEB13FX] Battery charging at zero rate - will never fully charge -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: [SONY VAIO VPCEB13FX] Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
Unfortunately, the first patch didn't solve it: :~$ acpi -abi Battery 0: Charging, 7%, charging at zero rate - will never fully charge. Battery 0: design capacity 356 mAh, last full capacity 245 mAh = 68% Adapter 0: on-line Data files below are result of: "grep . /sys/class/power_supply/BAT0/*" :~$ diff -it grep20130417.dat grepBAT0_20130419.dat 2d1 < /sys/class/power_supply/BAT0/capacity:8 6c5 < /sys/class/power_supply/BAT0/energy_now:261 --- > /sys/class/power_supply/BAT0/energy_now:232 18c17,18 < /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11830 --- > /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11825 > /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_VOLTAGE_NOW=11825 22,23c22 < /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_NOW=261 < /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_CAPACITY=8 --- > /sys/class/power_supply/BAT0/uevent:POWER_SUPPLY_ENERGY_NOW=232 27c26,27 < /sys/class/power_supply/BAT0/voltage_min_design:11830 --- > /sys/class/power_supply/BAT0/voltage_min_design:11825 > /sys/class/power_supply/BAT0/voltage_now:11825 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
Found it! sudo apt-get source linux-image- sudo apt-get build-dep linux-image- git clone git://kernel.ubuntu.com/ubuntu/ubuntu-.git cd .tar.gz> tar -xzvf linux_.tar.gz /ubuntu-/drivers/acpi/battery.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide will hopefully lead to the correct file of acpi_battery_get_state. Minimally, it provides: https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide#Patch_acceptance_criteria -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
Any ideas on where to update "static int acpi_battery_get_state"? Where is battery.c? /usr/src/linux-headers-3.9.0-999/drivers/acpi/Makefile includes: line 67: obj-$(CONFIG_ACPI_BATTERY)+= battery.o /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/* Binary file /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/acpi_ipmi.ko matches Binary file /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/acpi_memhotplug.ko matches Binary file /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/acpi_pad.ko matches Binary file /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/ec_sys.ko matches Binary file /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/sbshc.ko matches Binary file /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/sbs.ko matches Binary file /lib/modules/3.9.0-999-generic/kernel/drivers/acpi/video.ko matches What's the process to compile patches to the kernel? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
A possible patch from bugzilla.kernel.org suggested to update the battery driver with code below. Would someone know where to find and update these files? Thanks. https://bugzilla.kernel.org/show_bug.cgi?id=56741#c6 Hi, the bios acpi table doesn't provide actual voltage_now int _BST method of DSDT and give the value of 0x back. So battery driver return nodev error. Please try the following patch. It assign design_voltage to voltage_now. diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index f223018..0a80522 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c @@ -521,6 +521,7 @@ static int acpi_battery_get_state(struct acpi_battery *battery) battery->capacity_now = battery->capacity_now * 1 / battery->design_voltage; } + battery->voltage_now = battery->design_voltage; return result; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
operation returned: grep: /sys/class/power_supply/BAT0/voltage_now: No such device ** Attachment added: "grep20130417.dat" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+attachment/3647054/+files/grep20130417.dat -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
** Attachment added: "dmesg20130417.dat" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+attachment/3647053/+files/dmesg20130417.dat -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
Also posted at https://bugzilla.kernel.org/show_bug.cgi?id=56741, where one person asked for additional information listed below: acpidump, dmesg and the output of "grep . /sys/class/power_supply/BAT0/*" These outputs will be attached. ** Bug watch added: Linux Kernel Bug Tracker #56741 http://bugzilla.kernel.org/show_bug.cgi?id=56741 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
** Attachment added: "acpidump20130417.dat" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+attachment/3647052/+files/acpidump20130417.dat -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
http://ubuntuforums.org/archive/index.php/t-1901977.html seemed promising to complete a BIOS update from http://esupport.sony.com/US/p/model-home.pl?mdl=VPCEB13FX&template_id=1®ion_id=1&tab=download#/downloadTab The challenge is that Sony didn't release an .exe for DOS. So, even after getting to a prompt from a system repair disk I have for windows, my attempts to run either the XP or Windows7 version resulted: "Subsystem needed to support the image type is not present." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
Thanks for your thoughts Joseph. Perhaps I was not clear when I mentioned: ":~$ uname -a Linux toddh 3.9.0-030900rc6-generic #201304080035 SMP Mon Apr 8 04:36:25 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux" and added tags: quantal, and raring. http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-rc6-raring/ reproduced the charging at zero rate error. It also created a different /proc/acpi/ directory (referenced in original description). The reason I used the above kernel is because it was the last kernel listed at http://kernel.ubuntu.com/~kernel-ppa/mainline/ which included the _amd64.deb suffix. I'll next create a bug at: bugzilla.kernel.org. However, I'm still interested in your help in solving this battery charging issue. What other information will prove useful to start charging the battery? Thanks for your attention. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.9 kernel[0]. You will need to install both the linux-image and linux- image-extra .deb packages. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-rc7-raring/ ** Changed in: linux (Ubuntu) Importance: Undecided => Medium ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1169727] Re: Battery charging at zero rate - will never fully charge
** Tags added: quantal raring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1169727 Title: Battery charging at zero rate - will never fully charge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169727/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs