Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Android Development
Previous Page Home Next Page

Device Power Characteristics

You can use the power command to control the simulated power state of the emulator instance.The usage for the command is:

power <display|ac|status|present|health|capactiy>

The event command supports the subcommands listed in the table below.

Subcommand Description Comments
display Display battery and charger state.  
ac <on|off> Set AC charging state to on or off.  
status <unknown|charging|discharging|not-charging|full> Change battery status as specified.  
present <true|false> Set battery presence state.  
health <unknown|good|overheat|dead|overvoltage|failure> Set battery health state.  
power health <percent> Set remaining battery capacity state (0-100).  
Android Development
Previous Page Home Next Page

 
 
  Published under the terms fo the Apache 2.0 License Design by Interspire