Low power mode

Feel free to test.

Do not merge as it needs more comments and some refactoring/cleaning before integrating the main repository.