As for the battery warning, that will be based on a software algorithm unlike the GP2X which likely uses a comparator built into the Maxim power chip (???). I'm not sure exactly what the GP2X does, but since it is software based on Pandora, we can tweak it until it is very accurate.
It's really software on the gp2x as well, they do the cheap method of putting the voltage up an analog input pin and if the voltage is <= 2.4v, then they assume battery = flat.












