haiku/headers
Jérôme Duval 96bad7685b PowerStatus: add state "Not charging"
some laptops decide to not charge a fast full battery to not consume a cycle.
In this discharging state, the current rate is zero, thus no time left can be computed.
We add a state "Not charging" to clearly differentiate and avoid user confusion.
PowerStatus was triggering low battery notifications, this is also fixed.

Change-Id: I4745c78eb0863ab01fe34cb065707d068cff0f0e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7300
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2024-01-09 04:07:05 +00:00
..
build elf: add PT_RISCV_ATTRIBUTES program header 2023-09-25 15:20:13 +00:00
compatibility headers/compatibility/bsd: Update headers to remove BSD advertising clause. 2023-09-21 18:38:10 -04:00
config riscv: cleanup architecture macro checks 2021-09-01 18:04:59 +00:00
cpp userlandfs: use std::bitset for FSCapabilities 2023-07-10 06:27:18 +00:00
glibc
libs Icon-O-Matic: Add perspective transformations 2023-08-22 09:44:49 +00:00
os BListView: Add ScrollTo(index) method, auto-scroll on drag 2023-12-24 02:45:59 +00:00
posix features.h: fix build when BSD headers are not in include path 2024-01-03 17:11:56 +00:00
private PowerStatus: add state "Not charging" 2024-01-09 04:07:05 +00:00
tools cppunit: Enable CPPUNIT_HAVE_SSTREAM for the non-legacy GCC. 2022-03-29 19:09:38 -04:00