Mobile Power Saver enables power saving on mobile devices:
- Provides power-profile-daemon basic API compatibility
- Puts devices in low power when screen is off
- Suspends services/processes when screen is off
- Freezes applications (only when screen is off for now)
GNOME Control Center patches are available here: https://github.com/droidian/gnome-control-center/commits/droidian/panels/power
These are only examples that need to be tweaked depending on device/OS!
- Suspend processes:
$ gsettings set org.adishatz.Mps screen-off-suspend-processes "['[email protected]']"
- Suspend system services:
$ gsettings set org.adishatz.Mps screen-off-suspend-system-services "['cups.service', 'nfcd.service']"
- Suspend user services:
$ gsettings set org.adishatz.Mps screen-off-suspend-user-services "['gvfs-afc-volume-monitor.service']"
glib2
meson
ninja
$ meson builddir --prefix=/usr
$ sudo ninja -C builddir install