add some debug information to updater and listen to charging changes on Harmattan