---
title: "Services"
canonical_url: https://developer.repebble.com/pebbleos/docs/services/
last_updated: 2026-10-21
sdk_version: 4.33.1
---
# Services

Source: https://developer.repebble.com/pebbleos/docs/services/

System services sit between the drivers and the applications: they own shared hardware, persist state, talk to the phone and feed events to apps. They live in `fw/services/`, with their interfaces in `include/pbl/services/`.

## Storage

PFS, the Pebble File System, lives in `fw/services/filesystem/`. The API and on-flash layout are documented in `pfs.h`; the wear-leveling strategy (round-robin page allocation tracking the last written page) is described alongside the allocator in `pfs.c`.

## Service modules

- [Activity](https://developer.repebble.com/pebbleos/docs/services/activity.md)

The [API reference](https://developer.repebble.com/pebbleos/apidoc/d1/dfc/group__services.html) documents every service.

Generated from PebbleOS [3a7b71785](https://github.com/coredevices/pebbleos/commit/3a7b71785fd439666c4a8bc116f561140e8dec01). This page is maintained in the pebbleos repository: [docs/services/index.md](https://github.com/coredevices/pebbleos/blob/3a7b71785fd439666c4a8bc116f561140e8dec01/docs/services/index.md).
