Nexus 7 ignition on/off

by Bogdan Gabriel

Version 1 (August 5, 2019)

Download (6 downloads)

WORK IN PROGRESS!!

Flow for my Nexus 7 fixed install in dashboard of my car. It's meant to be triggered by on ignition power supply connect/disconnect as follows:

•Ignition ON:
> wake device if asleep
> turn off battery saver
> Check radios -AP mode OFF + gps, wifi, bt ON
> set DND mode to off > set volumes to 80%
> set screen brightness to full+auto
> run torque on obd connection
> start HUR on wifi connection to my phone hotspot.

•Ignition OFF:
> disable radios (gps, wifi, bt OFF + AP mode on)
> enable battery saver
> set brightness to min + disable auto brightness
> set all volumes to 0 and enable DND mode
> greenify / kill all active and background apps
> enable doze (deep sleep)

I am novice with this so please no critics. Any help/advice in creating this would be much appreciated