login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-tech
»
2010
»
December
»
2
Re: apmd action scripts
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Joachim Schipper
Subject:
Re: apmd action scripts
Date: Thursday, December 2, 2010 - 11:52 am
On Wed, Dec 01, 2010 at 11:05:03PM +0100, Holger Mikolon wrote:
quoted text
> Hi tech@ ! > > A couple of times now I didn't notice when my laptop battery reached the 0% > remaining capacity. I am not aware of any "tool" in base that could issue > a beep or nice sound in case of critical battery. > > Currently, apmd reports battery and power events to syslog. > Below is a patch to let apmd report battery state, battery life and > power state as parameters to an action script (/etc/apm/powerchange). > This makes the powerup and powerdown scripts obsolete. > I also included my powerchange script as an example.
For your information and that of people reading the archives: the current way to do this is sensorsd. Still, this may be more obvious. Joachim
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
apmd action scripts
, Holger Mikolon
, (Wed Dec 1, 3:05 pm)
Re: apmd action scripts
, Joachim Schipper
, (Thu Dec 2, 11:52 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Justin Mattock
Re: macbook pro dvd playback after suspend Buffer I/O error
git
:
Bill Lear
cpio command not found
Gary Yang
fatal: did you run git update-server-info on the server? mv post-update.sample pos...
Uwe
Re: "bash: git-upload-pack: command not found" ??
Ben Schmidt
Getting the path right for git over SSH
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
linux-netdev
:
Jamie Lokier
Re: [2/3] POHMELFS: Documentation.
Francois-Xavier Le Bail
[PATCH v2] net: typos in comments in include/linux/igmp.h
Stephen Hemminger
Re: vlan JMicron Technologies, Inc. JMC250 PCI Express Gigabit Ethernet
Sage Weil
Re: [2/3] POHMELFS: Documentation.
Patrick McHardy
Re: [ANNOUNCE]: First release of nftables
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
openbsd
observed spamd behavior
Ted Unangst
Re: OpenSMTPd actual development and integration
Paul M
Corrupted RAIDFrame device
BetClic
Benfica vs Porto - Qual o seu palpite?
git-commits-head
:
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
Linux 2.6.34-rc4
Linux Kernel Mailing List
[SCSI] scsi_dh_rdac: Retry for Quiescence in Progress in rdac device handler
Linux Kernel Mailing List
ALSA: cosmetic: make hda intel interrupt name consistent with others
Linux Kernel Mailing List
USB: gadget: audio: provide correct device id
Colocation donated by:
Syndicate