Skip to main content
2 of 2
formatting
Andrew T.
  • 16.5k
  • 10
  • 76
  • 127

I've found a solution for the following problem:

  • The Nexus 7 (2013) device must never be turned off unless it has an insufficient amount of power.
  • When the Nexus 7 (2013) device is exposed to an inductive charge, it should turn on automatically.

In order to apply this change to my device, I activated the bootloader and ran a simple batch file with the following script:

fastboot oem unlock
fastboot oem off-mode-charge 0
fastboot oem lock
fastboot reboot

This line:

fastboot oem off-mode-charge 0

sets the device to turn on whenever there is enough charge remaining that is sufficient to power up the device. If the device is drained completely of battery, then charged via conduction to or above a level of sufficient battery for rebooting, it will not reboot unless it is then either the charger is removed and re-applied or if the power button is pressed. This means that if a device is charged from 0% battery to 100% battery and removed from the charger, it can remain turned off for shipment until it arrives at its destination, in which it can be touched to an inductive charger and instantly turned on with no power button interaction whatsoever.