> > It would be interesting for pmud to be able to work on battery voltage > > instead of the time left as indicated by the obviously mislead battery > > controller... > > Do you mean that pmud currently works on the time left? I noticed that > it is really meaningless, probably because it depends on the activity > of the machine. But the charge information seems to be reliable.
It does, in fact, operate on time left, as that's what's most easily understood by the user (battery capacity varies a lot ...) and the main purpose is to go to sleep with enough power to actually make it into sleep mode, and then some. Time left is about as reliable as charge left, and machine activity doesn't affect time left that much as to make a critical difference (it's about 30 reduced at full load). The point about voltage is well taken, though. We just need a way to detect what kind of battery is installed to use it. Michael