InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search

Android development tutorials

  • Android - Show top processes using adb
  • Android studio keyboard shortcuts
  • Disable sleep during android usb debugging
  • Download apk using AirDroid
  • Enable usb debugging
  • Exerciser monkey tutorial
  • Transfer android apk using adb
  • Using Google analytics SDK v2 for android app real time tracking
  • View Desktop Site
  • adb tutorial
 
  • Home
  • > Tutorials
  • > Android Development

How to disable sleep during android usb debugging

By admin on Nov 19, 2015

If you are using android mobile phone for usb android development and debugging, it may be quite annoying to see it going to sleep mode after every few seconds or minutes. You can possibly increase the sleep window time but that is not a good solution. You probably want to disable sleep only during developing and when phone is connected to usb port. Here are quick steps to disable sleep mode and keeping android phone awake during usb debugging:

  1. Ensure that usb debugging is enabled on your phone.
  2. Open settings screen on your phone and select “Developer options” as shown below:
    android-settings-developer-options-highlighted
  3. On Developer options screen, select “Stay awake” if it is not already selected as shown below:
    android-developer-option-stay-awake-highlighted

Note that this will case screen to never sleep while charging. This way you won’t have to be worried about mobile battery getting drained accidentally.

Suggested posts:

  1. How to take screenshot on android phone
  2. How to use exerciser monkey tool for android stress testing
  3. How to disable dropbox photo auto upload on mobile and desktop
  4. How to transfer android apk using adb
  5. How to view desktop site from android mobile
  6. How to enable usb debugging on android
  7. How and why disable android auto update
  8. Javascript sleep implementation
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Android Development, Tutorials

Follow InfoHeap

facebook
twitter
googleplus
  • Browse site
  • Article Topics
  • Article archives
  • Recent Articles
  • Contact Us
  • Omoney
Popular Topics: AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2021 InfoHeap.

Powered by WordPress