#1801 BLOC Trial-2: The new battery class isn't understood by sugar
Zarro Boogs per Child
bugtracker at laptop.org
Fri Jun 22 13:47:38 EDT 2007
#1801: The new battery class isn't understood by sugar
---------------------+------------------------------------------------------
Reporter: cjb | Owner: dcbw
Type: defect | Status: new
Priority: blocker | Milestone: Trial-2
Component: sugar | Version:
Keywords: | Verified: 0
---------------------+------------------------------------------------------
.. because sugar looks for "/sys/class/battery/psu_0/capacity_percentage",
which no longer exists.
Instead, use /sys/class/power_supply/olpc-battery/capacity.
Perhaps the code could first check for the new path, and then fall back to
the old path if the new one doesn't exist, so that we don't introduce a
dependency in sugar<->kernel versions.
--
Ticket URL: <http://dev.laptop.org/ticket/1801>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list