From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1)
Description of problem:
If the battery meter is enabled xosview looks for /proc/apm to get
information about battery state. This isn't present if ACPI is being
used for power management.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Find a machine without /proc/apm, but with /proc/acpi/battery
2. Run xosview with the battery meter turned on.
Actual Results: xosview complains that it's unable to open /proc/apm.
Expected Results: xosview should check for /proc/acpi/battery and use
the information there.
Created attachment 100733 [details]
Add support for ACPI battery monitoring
A quick hack to add support for ACPI battery information to xosview. It works
for me on a Dell Latitude L400. It only supports one battery.
it seems 1.8.2 works well with apm and ACPI. The new version will show
up in rawhide soon. Thanks for your report.