I downloaded GSAM from the market place to see what is draining my battery so much especially when my screen is off. It show that ''wake lock'' is whats killing the battery. Its running all the time. What is this thing and how do i shut it down? Anyone know?
Android developer: What is WakeLock?
What is WakeLock?
In order to prolong battery life, over time Android devices will first dim, then turn off the screen,
before turning off the CPU. WakeLocks are a Power Manager system Service feature, available to your
applications to control the power state of the host device.
Wake Locks can be used to keep the CPU running, prevent the screen from dimming, prevent the screen
from turning off, and prevent the keyboard backlight from turning off.
Creating and holding Wake Locks can have a dramatic influence on the battery
drain associated with your application. It?s good practice to use Wake Locks only
when strictly necessary, for as short a time as needed, and to release them as soon
as possible.