Skip to content

Powersave refactoring

Alex requested to merge branch/powersave-refactor into branch/unified

I wanted to disable powersaving for the benchmarks and self tests, and the API was a little rusty. So, I took the powersave calls from raw_rec/mlv_rec/silent and moved them to powersave.c/h.

Also I've moved there other stuff from ML related to powersaving (display on/off, Pause/ResumeLiveView, and ML powersaving feature from LiveView.

This is mostly cut & paste, so I don't expect any surprises. Functionality should be identical - the only difference is that I removed battery display from the LV powersave menu, since it's also present in the debug menu, and much easier to find there.

Merge request reports