Quote:
Originally Posted by grognaz
hmm any tips how to configure alogcat so i dont have to go through hundreds of lines to find what causes the wake?
also wont that keep my device awake if the log is always running?
Sent from my Optimus 2X using XDA App
|
Place a filter after one of these depending on needs. Some of the first one should work if you are refering to the screen. And the 2nd to last if you mean that the phone is in a wake up state but screen turned off.
And the logger have probably been programmed to listen after the calls to log. That it should only be activated during the time that some thing else that it is logging is. Meaning that it shouldn't place the phone in any wake up state alone.
# This is logged when the device is being forced to sleep (typically by
# the user pressing the power button).
2724 power_sleep_requested (wakeLocksCleared|1|1)
# This is logged when the screen on broadcast has completed
2725 power_screen_broadcast_send (wakelockCount|1|1)
# This is logged when the screen broadcast has completed
2726 power_screen_broadcast_done (on|1|5),(broadcastDuration|2|3),(wakelockCount|1| 1)
# This is logged when the screen on broadcast has completed
2727 power_screen_broadcast_stop (which|1|5),(wakelockCount|1|1)
# This is logged when the screen is turned on or off.
2728 power_screen_state (offOrOn|1|5),(becauseOfUser|1|5),(totalTouchDownT ime|2|3),(touchCycles|1|1)
# This is logged when the partial wake lock (keeping the device awake
# regardless of whether the screen is off) is acquired or released.
2729 power_partial_wake_state (releasedorAcquired|1|5),(tag|3)
# This is logged when battery goes from discharging to charging.
# It lets us count the total amount of time between charges and the discharge level
2730 battery_discharge (duration|2|3),(minLevel|1|6),(maxLevel|1|6)