logger stays alive if charging