comp doesn't find battery status file

Bug #1414573 reported by veddox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
comp
Confirmed
High
Unassigned

Bug Description

comp assumes that the battery status file is stored in either /proc/acpi/battery/BAT1/state or in /proc/acpi/battery/BAT0/state. However, some of these folders/files do not exist on all laptops - therefore, comp is unable to provide battery information on these machines.

Revision history for this message
veddox (dvedder95) wrote :

For anybody who is affected by this bug: the maintainer would be grateful if you could find out where your OS stores its battery files and submit this information in a comment here. The more different locations are known, the better comp can be adjusted to work cross-platform.

For obvious reasons, this bug does not affect desktop PC users.

Revision history for this message
veddox (dvedder95) wrote :

Update: several systems use the /sys directory instead of /proc for storing its battery state. Unfortunately, /sys does not include one single file with all the information that /proc would provide - thus the necessary data would have to be compiled from several files.

Support for systems using /sys should be added in a later release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.