---
title: "Battery"
canonical_url: https://developer.repebble.com/pebbleos/docs/drivers/battery/
last_updated: 2026-11-24
sdk_version: 4.44
---
# Battery

Source: https://developer.repebble.com/pebbleos/docs/drivers/battery/

A battery describes the cell a board has, from the devicetree, for chargers and fuel gauges: its capacity, charge currents and voltage, internal resistance and open-circuit voltage curve. It is a description, not a device, built when the devicetree has one.

| 

 | 

 |
| --- | --- |
| 

Directory

 | 

`drivers/battery`

 |
| 

Header

 | 

`pbl/drivers/battery.h`

 |
| 

API

 | 

[API reference](https://developer.repebble.com/pebbleos/apidoc/d3/d4b/group __drivers__ battery.html)

 |

## Drivers

| 

Driver

 | 

Compatible

 | 

Kconfig

 |
| --- | --- | --- |
| 

Simple battery

 | 

`simple-battery`

 | 

`CONFIG_BATTERY_SIMPLE`

 |

Generated from PebbleOS [12b6c531f](https://github.com/coredevices/pebbleos/commit/12b6c531f9e0c2f39fe4e9bb2886314697128f08). This page is maintained in the pebbleos repository: [docs/drivers/battery.md](https://github.com/coredevices/pebbleos/blob/12b6c531f9e0c2f39fe4e9bb2886314697128f08/docs/drivers/battery.md).
