Battery

so this works now on my laptop. Before you merge it I want to do some more testing tomorrow and also check if I get some usefull output on my desktop.


I merged the recent master as well so the diff is a bit big