5

Is there any way to power on Nexus 7 2012 automatically when charging started? I want to use Nexus 7 as a car PC, so I need this feature for energy economy.

PS - my Nexus 7 is rooted and uses CM 10.1

skayred
  • 295
  • 3
  • 6

1 Answers1

4

Install Tasker to be able to:

  • Power off tablet when car is off

  • Use command

    fastboot oem off-mode-charge 0


  • To reset to normal, change the 0 to 1

  • Event for Tasker profile : Power

Pang
  • 259
  • 5
  • 10
HasH_BrowN
  • 2,500
  • 14
  • 19
  • How exactly did you do that? – Machado May 07 '15 at 13:48
  • @Tardo What part don't you understand? First, is what you want the tablet to do. Second, is the command used to accomplish that task. Third, is how to change it back for normal operation. You should read the Tasker website and the forums related to the app, for in-depth info. – HasH_BrowN May 07 '15 at 17:12
  • I've got it. The command is the task, execute a shell command. But what is the event you're setting as a Profile to identify when the charger is connected? – Machado May 07 '15 at 19:51
  • fastboot oem off-mode-charge 0 doesn't work on my chinese tablet.. – Machado May 08 '15 at 16:54
  • 1
    @Tardo contact the manufacturer, your tablet might not support fastboot. – HasH_BrowN May 09 '15 at 01:04
  • My guess is that fastboot is a file inside /system/bin ? Is it right? – Machado May 11 '15 at 11:57
  • @Tardo No it isn't located in your android device. It would located in your computer, wherever you installed android SDK (\sdk\platform-tools\fastboot.exe -for windows, Linux would be system/core/fastboot). Fastboot is a tool used to manipulate the flash partitions of an android device. I still recommend contacting your manufacturer and possibly searching out a forum dealing specifically with your device (same hardware and etc.) – HasH_BrowN May 12 '15 at 18:23