This service provides the functional equivalent of Fcns 6000h and 6001h for programs written specifically for the HP 95LX. The other HP palmtops have different battery measurement hardware (6 bit DAC) than the HP 95LX (8 bit ADC). This service attempts to "hide" these hardware differences by converting the inputs and outputs to what one would expect if the code were running on an HP 95LX.
This service measures the voltage of the specified channel and then converts the result to what would be returned by the HP 95LX service for the same voltage. The CARRY flag will be set under the same conditions described in services 6000h and 6001h. The actual voltage V can be obtained from the returned value v by
V = [(5.0 - 0.0)/255]*v
The value v returned is obtained from the 60xxh service value v' by the formula:
v = 81 + (7/5)*v'