Reference

RDLP_BatteryDialog(3)

query battery on a PalmOS device

NAME

RDLP_BatteryDialog, RDLP_BatteryLevel – query battery on a PalmOS device

LIBRARY

libpconn

SYNOPSIS

#include <palm.h>

#include <pconn/pconn.h>

int

RDLP_BatteryDialog(PConnection *pconn);

int

RDLP_BatteryLevel(PConnection *pconn);

DESCRIPTION

RDLP_BatteryDialog presumably starts the battery type dialog on the Palm.

RDLP_BatteryLevel queries the battery level on the Palm.

RETURN VALUE

RDLP_BatteryDialog returns an integer between 0 (empty) and 255 (full) indicating the battery charge, or a negative value in case of error.

SEE ALSO

libpconn(3), DlpRPC(3).

BUGS

It is not known what RDLP_BatteryDialog does.