Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e1692b8f authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

Floss: Add suspend API

This defines the suspend API at btadapterd level. The Suspend API is
supposed to be used in conjunction with another entity that actually
detects suspend/resume. In Chrome OS `btmanagerd` will communicate with
`powerd`, and in systemd-based Linux distros `btmanagerd` will
communicate with systemd using Inhibitor interface. In other Linux
systems suspend/resume script hooks can use this API as well.

Follow ups:
* Implementation of suspend() and resume()
* btclient command handler for debugging purposes.

Bug: 224606285
Tag: #floss
Test: Manual - Build floss with `build.py`

Change-Id: I5e9d3d37445aceded1224a7eaa6dfb564c25a3a6
parent f250e23f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment