On Sat, Mar 25, 2006 at 06:59:40PM +0000, Albert Vilella wrote: > On Sun, 2006-03-26 at 00:25 +0800, Ray Tsang wrote: > > interesting, i'm also using ubuntu dapper, i have > > /proc/acpi/ac_adapter/AC0/state > > This may then be something laptop-brand specific. Mine is a Sony Vaio > SZ1XP, If I remember correctly, those strings exposed by ACPI are totally random -- there are no rules, and every manufacturer can name them as he wish. Maybe better ask (via dbus) gnome-power-manager if we running on battery? -- Tomasz Torcz 72->| 80->| zdzichu irc -nie spam- pl 72->| 80->|
Attachment:
pgpUVUIpKS3Qd.pgp
Description: PGP signature