In one of our application we need to use the GPS continuesly
,the purpose is to get the user driving speed. Recently I found that while using the GPS continuesly can drain the device battery.
If the GPS device is not used, device battery will work for hours but if the GPS is used it reduces the battery life dramatically.
I was wondering that "what are other things" which can reduce the battery time?
How we can avoid them ?
What are the best practices to use them?
Well i found the answer here, Google I/O 2009 - Coding for Life -- Battery Life, That Is
What can I do to increase battery life on my Android device?
Wifi, Facebook Client, Application which runs lot of services in background. Gaming apps may drain your battery.
Anything that is CPU intense. Each cpu cycle drains more battery life. So programs that run in the background, or anything that needs constant updating (GPS) are going to drain battery life.
来源:https://stackoverflow.com/questions/8445637/what-are-the-things-which-reduces-android-battery-time