#
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>
|
#
59d0a832 |
|
28-Sep-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
Remove "font size / 12" calculations from various places. Use spacing values from BControlLook instead.
|
#
10074df1 |
|
08-Dec-2020 |
Pawan Wadhwani <pawanw17@gmail.com> |
PowerStatus: eliminate redundant power notification patched duplicate low power notifications by adding a flag to remove redundant notification calls by adding a parameter in the update function. Fixes #12277 Change-Id: Iec3859156e745ce0e1c08250151e17b3317847d5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3493 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
54606559 |
|
24-Nov-2017 |
Kacper Kasper <kacperkasper@gmail.com> |
PowerStatus: make tab size dependent on font size.
|
#
830758ad |
|
20-Nov-2017 |
Kacper Kasper <kacperkasper@gmail.com> |
PowerStatus: convert to BTabView. * Move text inside battery if possible. * Fix location of the spark. * Fixes #5422 and #7330.
|
#
d1929aff |
|
20-Nov-2017 |
Kacper Kasper <kacperkasper@gmail.com> |
PowerStatus: use layout to draw info strings.
|
#
24c9b9df |
|
18-Nov-2017 |
Janus <janus2@ymail.com> |
[PowerStatus] Fixes some drawing glitches * Fixes the position of the lightning over the battery * Fixes the selection in the info Window (Why is the selected color hardcoded?) * Fixes #13784
|
#
fa19dd44 |
|
10-Dec-2015 |
looncraz <looncraz@looncraz.net> |
apps: Convert to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0045-0075, 0077-0087 from looncraz, unmodified.
|
#
b19e9d5b |
|
08-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
PowerStatus: improved API, minor fixes. * ioctl() does not return a status_t; fixed its usage. * Do not overwrite the cached battery info with bogus data (this is quite strict, though). * Improved DriverInterface API with a more "natural" argument order. * Simplified some code.
|
#
546208a5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
a11e2f43 |
|
06-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Minor coding style fix. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41345 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
829200a0 |
|
06-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
rework r41321, check first character to see if string is empty. Thanks Ingo and Axel! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41344 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0974aaee |
|
06-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add (slightly overly) cautious checks of battery info to avoid NULL segfault... acpi can be flakey at times git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41343 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
afa7517f |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
small logic correction, string compare reversed for empty battery slot test git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41321 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
3bd54e05 |
|
24-Dec-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Mike Roll: i18n PowerStatus. Thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39939 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dc |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2e49589d |
|
04-Oct-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Remove unused includes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33426 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3e1f071c |
|
04-Oct-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Use the new CenterOnScreen function to center the window. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33425 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bd767f5a |
|
11-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Worked over the battery look a bit, looks much better now IMO. * Made the replicant transparent (for background images). * Fixed many of Clemen's coding style violations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32255 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08145692 |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Aside from I locked the wrong (base) class. The problem was more that the driver interface was deleted to early. Using a Referenceable seems to fix it now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8b24b02f |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Center the ExtendedInfoWindow on the screen. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31990 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b636a0ec |
|
21-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Make the shown info a little bit more usefull. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31679 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e391ec67 |
|
11-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- extended info window looks a little bit better now. - cache the battery status and read it out in the polling thread - fix time label git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31517 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6aed176c |
|
09-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add a ACPI battery driver interface to the PowerStatus app. If there is anyone with a working APM please test if its still working! TODO: - Get along with the Layout engine, the extended info window looks "no very nice". - Reading the battery status takes too long so put it into a thread or cache it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31484 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b19e9d5b71831ec5df3f2b06632bfef3d0bdcab9 |
|
08-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
PowerStatus: improved API, minor fixes. * ioctl() does not return a status_t; fixed its usage. * Do not overwrite the cached battery info with bogus data (this is quite strict, though). * Improved DriverInterface API with a more "natural" argument order. * Simplified some code.
|
#
546208a53940a26c6379c48a7854ade1a8250fc5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
a11e2f430c0683fc4f11f209099dc5ab0ca09da9 |
|
06-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Minor coding style fix. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41345 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
829200a090b8a35bc4048c18bd4dbecd3a0fe69f |
|
06-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
rework r41321, check first character to see if string is empty. Thanks Ingo and Axel! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41344 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0974aaee154a6395e1a9d7854cde37c68cc84a6a |
|
06-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add (slightly overly) cautious checks of battery info to avoid NULL segfault... acpi can be flakey at times git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41343 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
afa7517fc794c1d7fa43be5288591bf64c7cb8e7 |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
small logic correction, string compare reversed for empty battery slot test git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41321 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
3bd54e05be18c72d8a22cae8aa0cd9657ebefb7c |
|
24-Dec-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Mike Roll: i18n PowerStatus. Thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39939 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dcf39ce78e5885b481eee12e561ad6e096 |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2e49589d67e70e76c6bdeb91624951ee9b88897e |
|
04-Oct-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Remove unused includes. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33426 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3e1f071c149ae03a65ab8f6240eb67a86c166ce6 |
|
04-Oct-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Use the new CenterOnScreen function to center the window. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33425 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bd767f5a4e51e6fb6ee3d4f81085052dfb6ee11c |
|
11-Aug-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Worked over the battery look a bit, looks much better now IMO. * Made the replicant transparent (for background images). * Fixed many of Clemen's coding style violations. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32255 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
08145692162a862016dc9a473b7372e879df9d7a |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Aside from I locked the wrong (base) class. The problem was more that the driver interface was deleted to early. Using a Referenceable seems to fix it now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31992 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8b24b02f060e46f2714889158df0b1535850995d |
|
30-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Center the ExtendedInfoWindow on the screen. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31990 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b636a0ec0b151a345782f99c529464e85948eda6 |
|
21-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Make the shown info a little bit more usefull. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31679 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e391ec67b76eb39e7ecdb4da2693e1adf19cd0f7 |
|
11-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
- extended info window looks a little bit better now. - cache the battery status and read it out in the polling thread - fix time label git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31517 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6aed176c0988537d716a89e11130b4253179f607 |
|
09-Jul-2009 |
Clemens Zeidler <clemens.zeidler@googlemail.com> |
Add a ACPI battery driver interface to the PowerStatus app. If there is anyone with a working APM please test if its still working! TODO: - Get along with the Layout engine, the extended info window looks "no very nice". - Reading the battery status takes too long so put it into a thread or cache it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31484 a95241bf-73f2-0310-859d-f6bbb57e9c96
|