Amplify Alarms, Wakelocks and Services - Wakelocks
description
Transcript of Amplify Alarms, Wakelocks and Services - Wakelocks
7/21/2019 Amplify Alarms, Wakelocks and Services - Wakelocks
http://slidepdf.com/reader/full/amplify-alarms-wakelocks-and-services-wakelocks 1/1
AUTHOR Safety Level MORE INFO
Mistertac UNSAFE http://www.reddit.com/r/Nexus5/comments/2dqz5d/
1ceb0x
UNSAFE http://developer.android.com/distribute/engage/gcm.html
1ceb0x
UNSAFE https://developers.google.com/android/c2dm/
1ceb0x UNSAFE http://developer.android.com/reference/android/app/ActivityManager.html
1ceb0x NOT RECOMMENDED http://developer.android.com/reference/android/app/AlarmManager.html
1ceb0xNOTRECOMMENDED
http://www.cadence.com/Community/blogs/ip/archive/2014/03/03/android-audio-offload-explained-at-mobile-world-congress.aspx
MistertacNOTRECOMMENDED http://developer.android.com/reference/android/view/WindowManager.html
Mistertac
PROBABLYSAFE http://www.reddit.com/r/Nexus5/comments/2dy43k/
1ceb0x NOT RECOMMENDED TBA
magnamentis NOTRECOMMENDED
magnamentis NOTRECOMMENDED
1ceb0x
NOT RECOMMENDED TBA
MistertacSAFE https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/SyncLoopWakeLock
Mistertac SAFE TBA
MistertacPROBABLYSAFE https://code.google.com/p/android/issues/detail?id=20817
MistertacUNSAFE
http://forum.xda-developers.com/google-nexus-5/help/partial-wakelock-audiomix-n-t2520406/page2
magnamentis PROBABLY SAFE TBA
magnamentis PROBABLY SAFE TBA
magnamentis PROBABLYSAFE https://groups.google.com/forum/#!topic/android-platform/n668vwz2718
Mistertac PROBABLY SAFE TBA
1ceb0x PROBABLY SAFE TBA
1ceb0xPROBABLY SAFE TBA
mistertac PROBABLYSAFE
MistertacPROBABLYSAFE
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.4_r1/com/android/internal/telephony/InboundSmsHandler.java
Mistertac PROBABLYSAFE
1ceb0xPROBABLY SAFE TBA
1ceb0xSAFE TBA
MistertacSAFE
http://androidforums.com/samsung-galaxy-s4/859357-massive-battery-drain-google-play-services-store.html#post6651111
1ceb0x SAFE TBA
1ceb0x SAFE TBA
Mistertac SAFE TBA
magnamentis SAFE
magnamentis SAFE
1ceb0xSAFE
Solace NOTRECOMMENDED
AMPLIFY MODULE DATABASE (Former Unbounce)Amplify puts you in control of how your device uses your battery by controlling how often your device can wake up, and how long it can stay awake.
AmodulecreatedbyRyan"cryptyk"
XDA link: http://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874
Safety level Explanation
SAFE Long term testing with no issues encountered
NOT SAFE Causing real troubles across phones/ROMs/Android OS versions
PROBABLY SAFE Tested and no issues found but needs confirmations from more users
N OT R EC OM ME ND ED R ed uc in g fu nc ti on al it y to a h ig h de gr ee a nd d an ge r of c ro ss -d ev ic e/ cr os s- ap p ne ga ti ve i mp ac t of u nk no wn n at ur e
WAKELOCK NAMEAllow EachX Seconds
WAKELOCK DESCRIPTION SIDE EFFECTS
TimedEventQueue( OSWakeLock ) N/A Corepar tofAndroidthat is best le f ta lone. I tqueues upal l incomingevents.SeereferencefromReddi t. N/A
GCM_CONN
N/A
GoogleCloudMessaging-Keepingappcontentfreshis importanttoretainingusers.Andit’s easy withthepopularGoogleCloudMessagingforAndroid,by sendinglightweightmessagestoyourapps installedon Androiddevices anywhere. Responsiblefor sendingpush notifications toyour phone,for allapps.
Nopushnotifications receivedif unbounced
GOOGLE_C2DM
N/A
AndroidCloud toDevice Messaging(C2DM) is aservice thathelps developers send datato theirapps ondevices.Theserviceprovides a simplemechanismthatservers canuse totellmobileapplications tocon-tacttheservertofetchupdatedapplicationoruserdata.The C2DMservicehandles all aspects ofqueueingof messages &delivery tothetargetapplicationrunningontargetdevices.This servicewas deprecatedsince2012buttherearestillapps thatare usingthis serviceinsteadofthenewly & improvedGCM.
Nopushnotifications fromappsthatarestillusingthisoldermethodcalledC2DM.
ActivityManager-Launcher(OS Wakelock) N/A Interact with the overall activities running in the system. android.app.ActivityManager Notsafeto unbounce.PeoplereportedsystemUIcrashes.
AlarmManager(OS Wakelock) N/A
This class provides access to thesystemalarmservices.Whenanalarmgoes off,theIntentthathadbeenregisteredforit is broadcastby thesystem,automatically startingthetargetapplicationif itis notalreadyrunning.Registeredalarmsareretainedwhilethedeviceis asleep(andcanoptionally wakethedeviceupif they gooffduringthattime),butwillbeclearedif itis turnedoffandrebooted.
Unbouncethis andthe"Alarms"partofUnbouncemoduleitselfwillstopupdating- andwedon'twant that:)
AudioOffload(OS Wakelock)N/A
Audioplayback through streaming(Soundcloud forexample). Unbouncethis and yourstreaming willstop working
WindowManager(OS Wakelock)N/A
This is anAndroidSystemlevelWakeLock. Theinterfacethatapps useto talk tothewindowmanager-meaning,applications willrequireaWindowManagerlock everytimethey needtobe shownonthescreen.
Notsafeto unbounce.
AudioIn(OS WakeLock)
600
This has to dowithGoogleSearch/HotwordDetection.This willflareupif youuseOK googleanywherefeature.
Unbouncedtoan almostinfintevaluefortestingshowingzeroimpactoveraweek whileutilizingOKgoogleanywherefeatures.UnknowniftheOKgooglewhilescreenoff functionon chargeris hindered(iwouldassumesothoughsinceitwouldonly makesenseforthephoneto holdsomeformof wakelock whilethescreenisoff)
hangouts_rtcs N/A com.google.android.talk.Hangouts process Probably, if unbounced, the app will stop working correctly
E N/A BelongstoTasker_SinceTaskerissetformanagingtasksandprofilesinaspecificmanneritdoes> notmakesensetoalterthepurposefullysettasksby othermeans
M N/A BelongstoTasker_SinceTaskerissetformanagingtasksandprofilesinaspecificmanneritdoes> notmakesensetoalterthepurposefullysettasksby othermeans
RILJ (Cellsignal)
600
ResponsibleforthelocationthroughCellulartowers?
AVASTAnti theftweb basedinterface fails todeliver messages whenthis isunbouncedsometimes,its onlysafetoassumeotherappsdependingonthesameservices providedby RILJareaffectedas well.Others have reportedheat/battery drainissues whichmaybe induced.
SyncLoopWakelock (OSWakelock)600+-
This is theWakeLock usedby AndroidSyncManagerto Sync accounts likeGoogle+Twitter,LinkedinandGmailetc.Thehighertheunbouncing,thehigherthe amountoftimeyouraccounts willget syncedagain
Nonesofar,all my accounts arestillSyncingup
ICING(OSWakelock) 9 00 + - I CI NG i s a G oo gl e Se rv ic es W a ke Lo ck . C ur re nt ly l o ok in g fo r mo re d et ai ls . N on e so f ar , al l ap ps a n d ac co un ts w or ki ng .
StartingAlertService( OSWakeLock)2 40 + -
This WakeLock canusually beassociated withCalendar, althoughmay effectother apps suchas messaging.Ifyour Calendarhas notifications /alerts itcan holdthis WakeLock unnecessarily.
Moretestingneededto makesureotherevents/notificationsaren'tmissed
AudioMix (OS WakeLock )N/A
This WakeLock handles Sounds fromAlerts,TouchSounds andMusic.Fromourresearchandyourinput,it'sbetterto leavethis Wakelock alone.
N/A
GCoreFlp 240 B el on gs t o th e lo ca ti on a cq ui si ti on f ra me wo rk , cu rr en tl y t es ti ng l on g te rm N ON E TI LL N OW ( 2 h S ma ll R oa ds N av ig at io n)
*net_scheduler* 240 didnotfindwhat itdoes by nowbutcameacross fewmentions wherepeoplekillit withoutissues sofar NONETILLNOW( longtermtestingdueto lack ofinfo)
NetworkStats 240 NetworkStatsServ icewakelock is heldwhi lecol lect ingandrecordingstat is t ics f romthekernel NONEwithfunct ions,notsureaboutkernel logs for thosewhoneedthem
UlrDispatchingService 240 c om .g oo gl e. an dr oi d. lo ca ti on .r ep or ti ng .s er vi ce .D is pa tc hi ng Se rv ic e N on e Ye t. W il l ke ep t es ti ng .
fingerprint_scanner_static 180 Relatedto Google+- FingerprintScannerIntentService.Pieceofcode:com.google.android.apps.plus.service.FingerprintScannerIntentService. This is probably safetounbounce.Ionlyhave 1wakelock forbothofthemanditis for1 second.However,onecanencounterithigherthanthat.
fingerprint_scanner_local180
Relatedto Google+- FingerprintScannerIntentService.Pieceofcode:com.google.android.apps.plus.service.FingerprintScannerIntentService.
This is probably safetounbounce.Ionlyhave 1wakelock forbothofthemanditis for1 second.However,onecanencounterithigherthanthat.
GPSLocationProvider 600 Yet another WakeLock pertaining to location So far so good but still in testing
CDMAInboundSMSHandler 240
This is partof theTelephony Package.it's responsibleforbroadcastingSMStovarious apps thatarerequestinNoneso far.Iwilltest fora fewdays
wake:com.google.android.gms/.config.ConfigFetchService 600 T hi s W ak eL oc k p op pe d up w it h la te st P la y S er vi ce s u pd at e. N on e so f ar , I' ve d ra st ic al ly r ed uc ed i ts W ak eL oc k t im e wi th n o ne ga ti ve i mp
LocationManagerService(OS WakeLock)420
As thename implies.This is not ahigh battery drainerwakelock in my setup(my phone only blockedit for2seconds)butfor others itmightholdabig wakelock.
Nonesofar.Mineis setat420and Locationcanbe aquiredthroughGPS,Data,Wifi.
NfcService:mRoutingWakeLock240
Relatedto NFCservice_ Reply:Confirmedbutyoucouldgo higher,basically this canbe unbounceddownto0 acquiredwakelocks whennot usingNFClikeyouand myself(@magnamenis)
Idon'tuse NFCbutthenagainthis wakelockisaquiredeventhoughNFCisOFF.Isuggestkeepingitunbouncedata levelof180-240seconds.
WakefulIntentService[GCoreUlr-LocationReportingService]2 40 + -
This serviceis beingused by GooglePlay Services inthis case.Nonesofar,all my apps arefunctioninglikenormalandI've watchedthisWakeLock timedropsomevswhatit hadbeen.
NlpWakeLock 420 Usedby GooglePlay Serv ices todetermineyour locationusingacomboofCell towers andWif i. None.
NlpWakelockDetector 420 Usedby GooglePlay Serv ices todetermineyour locationusingacomboofCell towers andWif i. None.
VZWGPSLocationProvider 600 AVerizon specific LocationWakeLock Behaves thesame as ourother Location/GPSWakeLocks. Noissues sofar.
com.commonsware.cwac.wakeful.WakefullIntentService 300 http://comments.gmane.org/gmane.comp.handhelds.android.devel/118263( ormore googling) NONE,TESTEDFOR 10DAYS
WakefulStateMachine: GeofencerStateMachine 180 com.google.android.location.geofencer.service.GeofencerProviderService NONE,TESTEDFOR 10DAYS
*sync*/com.google.android.apps.bigtop.provider.bigtopprovider/com.google/accountname3600
Belongs to newly Googleapp -Inbox (anew formofGmail).Itsyncs yourmailingaccount.Bestvaluesbetween3600and 7200,dependingonhow muchyouwantyourgmailto besynced.
NONE.
com.oasisfeng.greenify.CLEAN_NOW N/A Greenify uses this to greenify after screen timeout. Auto hibernation will fail.