A commit to conky's source was made so that POWER_SUPPLY_POWER_NOW would be read from /sys/class/power_supply/<battery name>/uevent in the event POWER_SUPPLY_CURRENT_NOW was not available. According to http://git.omp.am/?p=conky.git;a=commit;h=c5d065d1199a0ef3b0d7f72368fac47d4579b901, POWER_SUPPLY_CURRENT_NOW was renamed to POWER_SUPPLY_POWER_NOW. However, that commit was made just over a year ago and was not included in the conky-1.8.1 release. Thus, the request is to apply this fix to conky-1.8.1, so that conky works correctly with modern kernels. Reproducible: Always Actual Results: conky reports battery time remaining is unknown if POWER_SUPPLY_CURRENT_NOW is missing from /sys/class/power_supply/BAT0/uevent. According to other sources POWER_SUPPLY_CURRENT_NOW was renamed to POWER_SUPPLY_POWER_NOW. Expected Results: conky report the remaining time to [dis]charge a battery.
Created attachment 298897 [details, diff] Patch to read POWER_SUPPLY_POWER_NOW
Created attachment 298901 [details] Updated ebuild
Brenden any chance to get 1.8.2 out as stuff like this piles up here.
+*conky-1.8.1-r6 (16 Jan 2012) + + 16 Jan 2012; Daniel Pielmeier <billie@gentoo.org> -conky-1.8.1-r5.ebuild, + +conky-1.8.1-r6.ebuild, +files/conky-1.8.1-battery-time.patch: + Fix bug #398823. Thanks to nvinson for the report and patch.