disable battery so Gaia doesn't shut down when battery missing/low
Merge branch 'master' into battery-state
update app on connect to app if app not installed
Merge branch 'master' into ochameau-toolbox-per-app
don't use else after return
check battery.charging before shutting down instead of disabling battery API
Merge pull request #662 from mykmelez/ochameau-toolbox-per-app

install app on connect to app if app isn't already installed
Merge pull request #650 from mykmelez/battery-state

disable DOM battery API (fixes #536)