History log of /haiku/headers/private/device/power_managment.h
Revision Date Author Comments
# 96bad768 08-Jan-2024 Jérôme Duval <jerome.duval@gmail.com>

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>


# 1b16a232 03-Mar-2020 Jérôme Duval <jerome.duval@gmail.com>

acpi_battery: support for _BIX method.

change int types to uint32, as it's more correct.

Change-Id: Iae7043abe4c8b8a121548fe6d6a809f1bd879c8a
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2334
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# a04b7d9f 21-Nov-2013 Pawel Dziepak <pdziepak@quarnos.org>

power: Remove old cpufreq interface


# 042aefc4 04-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

small bit of style cleanup; added additional checks to see if a battery was damaged or it is just an empty slot

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41319 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a6356144 09-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Battery interface for the driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31485 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 40890e97 14-Jan-2009 Axel Dörfler <axeld@pinc-software.de>

* Committed Clemens Zeidler's Intel speedstep driver. Thanks a lot, Clemens!
This is a very welcome addition.
* There are a few issues, and maybe questionable decisions (like the dependence
on ACPI), but I see no reason why it shouldn't be added in its current form
already.
* Unfortunately, I could not test it yet, though, as the CPU of my laptop is
not supported; will see if I can find a supported hardware, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28903 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a04b7d9f96772b54819061e3716f1e273526a84c 21-Nov-2013 Pawel Dziepak <pdziepak@quarnos.org>

power: Remove old cpufreq interface


# 042aefc4ea641bcabbc17f29ee0a51d2e5a53b80 04-May-2011 Alexander von Gluck IV <kallisti5@unixzen.com>

small bit of style cleanup; added additional checks to see if a battery was damaged or it is just an empty slot

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41319 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a635614420656706cf5e0b1666adf5b22cc04551 09-Jul-2009 Clemens Zeidler <clemens.zeidler@googlemail.com>

Battery interface for the driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31485 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 40890e97b33d50df31aaee69e9001efca0a92a20 14-Jan-2009 Axel Dörfler <axeld@pinc-software.de>

* Committed Clemens Zeidler's Intel speedstep driver. Thanks a lot, Clemens!
This is a very welcome addition.
* There are a few issues, and maybe questionable decisions (like the dependence
on ACPI), but I see no reason why it shouldn't be added in its current form
already.
* Unfortunately, I could not test it yet, though, as the CPU of my laptop is
not supported; will see if I can find a supported hardware, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28903 a95241bf-73f2-0310-859d-f6bbb57e9c96