fwts: battery test should sanity check _BTP via /proc/acpi/battery/*/alarm
Bug #853875 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firmware Test Suite |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Although many laptops and netbooks don't support _BTP, it is probably worth implementing a _BTP sanity check to test that battery trip points work. The ACPI user space interface exists in /proc/acpi/
Conceptually:
Set alarm to a level just below current level, unplug AC adapter, soak CPUs to drain battery, watch for battery event when we drop below the trip point.
See: 10.2.2.7 _BTP (Battery Trip Point) of ACPI specification.
Tests: Does _BTP exist? If so, can we set it? Does it generate an event? Can we cancel it by writing a zero to the /proc interface?
Changed in fwts (Ubuntu): | |
importance: | Undecided → Low |
importance: | Low → Wishlist |
Changed in fwts (Ubuntu): | |
importance: | Wishlist → Low |
Changed in fwts (Ubuntu): | |
importance: | Low → Wishlist |
Changed in fwts (Ubuntu): | |
importance: | Wishlist → Low |
Changed in fwts (Ubuntu): | |
importance: | Low → Wishlist |
affects: | fwts (Ubuntu) → fwts |
To post a comment you must log in.
Scanned 3336 kernel bugs, 462 contained _BTP, or ~14.8% of ACPI tables in a representative sample have _BTP.