How to save your battery by using an app