---
name: "RDLP_BatteryDialog"
section: "3"
platform: "linux"
package: "coldsync"
version: "3.0+pre3-3"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/RDLP_BatteryDialog"
---

# 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)](/libpconn/3.md), [DlpRPC(3)](/DlpRPC/3.md).

## BUGS

It is not known what **RDLP\_BatteryDialog** does.
