OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: lardman on August 19, 2004, 07:20:07 am

Title: pdaXrom 1.1.0 - Power status notifications?
Post by: lardman on August 19, 2004, 07:20:07 am
Is it possible to receive power status change notifications?

I'd like to run xscreensaver, but only when on external power.

Cheers,


Si
Title: pdaXrom 1.1.0 - Power status notifications?
Post by: ikm on August 20, 2004, 05:03:45 pm
Quote
Is it possible to receive power status change notifications?

I'd like to run xscreensaver, but only when on external power.

Cheers,


Si
Just grep the output of the 'apm' command periodically and take appopriate actions.