https://github.com/strawdynamics/pdbatinfo
A simple Playdate app to display the current battery charging state, voltage, and estimated % remaining (state of charge) using Panic-provided APIs.
https://github.com/strawdynamics/pdbatinfo
Last synced: about 1 year ago
JSON representation
A simple Playdate app to display the current battery charging state, voltage, and estimated % remaining (state of charge) using Panic-provided APIs.
- Host: GitHub
- URL: https://github.com/strawdynamics/pdbatinfo
- Owner: strawdynamics
- License: cc0-1.0
- Created: 2023-12-06T08:45:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T17:44:24.000Z (over 2 years ago)
- Last Synced: 2025-06-26T10:53:28.831Z (about 1 year ago)
- Language: Lua
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pdbatinfo
A simple Lua app for Playdate that displays the current battery charging state, voltage, and estimated % remaining (state of charge) using Panic-provided APIs. It also includes some general information about lithium-ion batteries, and information on why the Playdate's battery indicator isn't as accurate as, say, a smartphone's.
This app is not affiliated with or endorsed by Panic. Code and text are public domain (CC0). Nico fonts copyright [emhuo](https://emhuo.itch.io/), licensed under OFL.
## Building
``` bash
pdc source pdbatinfo.pdx && open pdbatinfo.pdx
```