There‘s also a new module for handling power states and events. This means we get to do a lot more nice things:
- A proper fade out animation when turning off the screen.
- The auto brightness is adjusted instantly and seamlessly when turning on the screen.
- The device no longer gets into a wake-up loop from „auto suspending soon“ notifications where it never actually suspends.
- On power button long press, we now show the power menu.
Another big one: We now detect the phone turning on while in a pocket by reading the proximity sensor. This allows us to avoid turning on the screen, or even go back to suspend while in a pocket.
Quick note for packagers: For all this to work, a few things had to be moved out of g-s-d and into gnome-shell, so the project now depends on a gnome-settings-daemon fork.
Also these things are using systemd APIs, so systemd becomes a hard dependency too. Luckily #postmarketos is moving to adapt it!