Public bug reported: I was wondering why the battery information isn't updated and found out that some of the value names for the battery state don't match with the system interface:
working version: === modified file 'usr/lib/byobu/battery' --- usr/lib/byobu/battery 2012-02-23 14:02:53 +0000 +++ usr/lib/byobu/battery 2012-12-16 01:00:16 +0000 @@ -38,8 +38,8 @@ if [ -r "$bat/uevent" ]; then . "$bat/uevent" present="$POWER_SUPPLY_PRESENT" - full="$POWER_SUPPLY_CHARGE_FULL" - rem="$POWER_SUPPLY_CHARGE_NOW" + full="$POWER_SUPPLY_ENERGY_FULL" + rem="$POWER_SUPPLY_ENERGY_NOW" state="$POWER_SUPPLY_STATUS" [ "$present" = "1" ] && [ -n "$full" ] && [ -n "$rem" ] && [ -n "$state" ] && break fi ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: byobu 5.22-0ubuntu1 [modified: usr/lib/byobu/battery] ProcVersionSignature: Ubuntu 3.7.0-4.12-generic 3.7.0-rc7 Uname: Linux 3.7.0-4-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.7-0ubuntu2 Architecture: amd64 Date: Sun Dec 16 02:03:07 2012 EcryptfsInUse: Yes InstallationDate: Installed on 2011-10-08 (434 days ago) InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111007) MarkForUpload: True PackageArchitecture: all ScreenRC: SourcePackage: byobu UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: byobu (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug raring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1090831 Title: wrong names for battery status variables To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/1090831/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs