On Fri, 2006-06-09 at 15:36 +1000, Jeff Waugh wrote: > <quote who="Erik de Castro Lopo"> > > > Jeff Waugh wrote: > > > > > What happens when you do the above, when you're on battery? > > > > Not good: > > > > [EMAIL PROTECTED] > on_ac_power > > [EMAIL PROTECTED] > echo $? > > 1 > > > > I even tried rebooting and booting on battery and I get the same > > result, it still thinks is on AC power. > > Sweet! > > > This is a Dell Latittude X1, same as Rob's. > > Okay, thanks, I'll see what I can do. :-)
1 means 'on battery'. -Rob -- GPG key available at: <http://www.robertcollins.net/keys.txt>.
signature.asc
Description: This is a digitally signed message part
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
