At 11:17 AM -0500 1999/12/10, Subha Kannan wrote:
>I want to get the device info ( for example , batterykind) and I use the
>PrefGetPreference call to get the info .
>On running on the emulator , I get the expected results i.e. Alkaline for
>PalmIIIx and Lithium for PalmV .
>Whereas , on the device , the SystemPreferences always returns Alkaline for
>the battery kind irrespective
>of the device .
The correct API to use to obtain this information is SysBatteryInfo.
Regards,
Jim Schram
3Com/Palm Computing
Partner Engineering