Hi Paul, > Package: pmud > Version: 0.10-11 > Tags: patch > > Following an upgrade to squeeze, my PowerBook G4 began suspending > every time I unplugged the AC. I believe this is because > CRITICAL_VOLT defaults to 100,000 millivolts (100V) instead of > 10,000 millivolts (10V). I'm using the patch below and pmud now > behaves as I expect. > > > diff --git a/pmud.h b/pmud.h > index d6a96a7..9739da1 100644 > --- a/pmud.h > +++ b/pmud.h > @@ -83,7 +83,7 @@ > > /* take immediate action once voltage drops this low */ > > -#define CRITICAL_VOLT 100000 > +#define CRITICAL_VOLT 10000 > > #define BEEP_TIME 150 > #define BEEP_OK 1000
Thanks for catching this - I do actually use /etc/default/power to set the threshold even lower, so I never saw that. Brown paper bag time I guess. > -- > Paul Collins > Wellington, New Zealand You wouldn't happen to know if you can get G4 powerbook batteries in NZ? Mine is rapidly losing it (and I'm located in Auckland since 2007; don't get fooled by the e-mail address). Cheers, Michael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org