Public bug reported:

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/battery/*/alarm

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?

** Affects: fwts (Ubuntu)
     Importance: Wishlist
         Status: New

** Changed in: fwts (Ubuntu)
   Importance: Undecided => Low

** Changed in: fwts (Ubuntu)
   Importance: Low => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/853875

Title:
  fwts: battery test should sanity check _BTP via
  /proc/acpi/battery/*/alarm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/853875/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to