|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
battery management tool?
hey,
Im looking for a tool whom can manage a bit laptop/battery operations with openbsd, eg power it of when battery is really low level, or just simply hibernate, but doing it automatically like almost all OS do, even if they have to wake up without open lid when battery is too low, to hibernate? on few laptops with old battery we already understood that it doesnt have such by default, and loose data (or not loose, but salvage poweroff because of oobattery) could be managed by a tool? thank you vm ps: I already tried with xfce, a battery monitor/notificatoin is available in the interface module, but crashes immediately, not usable at all... and I don't have fun with watching power LED (on the side) every five minutes.. |
|
|||
Check out manual apmd(8), it does all you want except shows you the level.
For battery level you can query it using apn(8) and sysctl(8). I have a simple cron script that echos status out to /dev/console and it shows up in xconsole(1) every 8 minutes I think.
__________________
[t]csh(1) - "An elegant shell, for a more... civilized age." - Paraphrasing Star Wars (tvtropes.org) |
|
|||
Quote:
hi, thank you for your reply if you have a script doing so, in addition with alerts (x/window alerts too?), do you mind to share it please? |
|
||||
Did you check ~/.xsession-errors for anything relevant? The battery monitor should work.
__________________
Are you infected with Wetiko? |
|
|||
I tried by doing the following with apm :
/etc/rc.conf.local: apmd_flags=-A -z 15 -Z 12 /etc/rc.conf apmd_flags=-z 15 -Z 12 but it doesnt like to be working.. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I get the remaining battery percentage (6.2) | bsd-keith | OpenBSD General | 2 | 1st February 2018 04:47 PM |
i7 temp. / battery life ? | NaWi | OpenBSD General | 2 | 8th August 2015 04:16 PM |
Shutting down on low battery | kmike | OpenBSD General | 5 | 30th March 2015 04:18 PM |
Beep low battery | tixx8542 | OpenBSD General | 8 | 25th December 2014 01:10 PM |
Wireless networking xor battery monitor | Nobber | OpenBSD General | 5 | 27th February 2009 12:25 PM |