Ticket #2287 (closed defect: fixed)
battery removal kobject notifications broken in bq2700 power supply class driver
|Reported by:||mickey||Owned by:||openmoko-kernel|
|Blocking:||Estimated Completion (week):|
On removing the battery we get an uevent notification with:
POWER_SUPPLY_PRESENT = 1
whereas it should be
POWER_SUPPLY_PRESENT = 0
The other values are also bogus on removal. Plus, once the battery has been removed, triggering a change notification no longer works by echoing "change" to uevent.
Insertion works fine though.