https://github.com/kcxt/hammock
A power optimisation framework for Linux Mobile devices
https://github.com/kcxt/hammock
Last synced: about 1 year ago
JSON representation
A power optimisation framework for Linux Mobile devices
- Host: GitHub
- URL: https://github.com/kcxt/hammock
- Owner: kcxt
- License: gpl-2.0
- Created: 2022-10-11T22:55:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-12T01:54:09.000Z (about 3 years ago)
- Last Synced: 2025-04-08T10:40:39.038Z (about 1 year ago)
- Language: Rust
- Size: 247 KB
- Stars: 8
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hammock: A power optimisation framework for Linux Mobile devices
* Manage app lifetime
* Suspend background applications
* Permissions integration to stay awake, run in background etc
* Push notifications
Hammock currently only supports Phosh on postmarketOS, with the following
patches being required:
* https://gitlab.freedesktop.org/calebccff/dbus/-/commit/9c229750e5da68f379b987fbea86022d59e21124
* https://gitlab.gnome.org/calebccff/phoc/-/commit/2a5068cadf0667fae8a87378ebeb6c96187741a6
It will configure a cgroup per application and use app state tracking via
Wayland to freeze apps that aren't in focus. See the example configuration `docs/config.default.yaml` for more information.