Skip to content

Instantly share code, notes, and snippets.

@hkskoglund
Created September 23, 2018 06:42
Show Gist options
  • Save hkskoglund/9fdcfe89b562295b92f33c5757c402da to your computer and use it in GitHub Desktop.
Save hkskoglund/9fdcfe89b562295b92f33c5757c402da to your computer and use it in GitHub Desktop.
DJI GO Android v4.3.0 - signed out of app resource use
I signed out of the app to see the resource utilization.
Why is SwUdpService and timer-0..4 + amapLocCoreThre running when signed out of app?
Why is two location listeners active (1m and 900ms) ?
Every 5,0s: adb shell dumpsys cpuinfo | grep -A20 dji.go satellite: Sun Sep 23 08:38:33 2018
3.9% 31624/dji.go.v4: 2.4% user + 1.4% kernel / faults: 4838 minor
0.6% 31635/HeapTaskDaemon: 0.5% user + 0% kernel
0.2% 31772/Binder:31624_4: 0.2% user + 0% kernel
0.2% 31681/SwUdpService ti: 0.1% user + 0% kernel
0.2% 31679/Timer-0: 0% user + 0.1% kernel
0.2% 31687/Timer-1: 0% user + 0.1% kernel
0.2% 31704/Timer-2: 0% user + 0.1% kernel
0.2% 31624/dji.go.v4: 0.1% user + 0% kernel
0.2% 31646/dji.go.v4: 0% user + 0.1% kernel
0.2% 31706/Timer-3: 0.1% user + 0% kernel
0.1% 31726/SingleBackgroun: 0% user + 0% kernel
0.1% 31876/amapLocCoreThre: 0.1% user + 0% kernel
0.1% 31638/Binder:31624_2: 0% user + 0% kernel
0.1% 31648/dji.go.v4: 0% user + 0% kernel
0.1% 31842/DJIExecutor IO : 0% user + 0% kernel
0% 31707/c timer: 0% user + 0% kernel
0% 31708/a timer: 0% user + 0% kernel
0% 31688/Thread-24: 0% user + 0% kernel
0% 31727/DJIExecutor Urg: 0% user + 0% kernel
0% 31674/DJIExecutor Urg: 0% user + 0% kernel
0% 31675/DJIExecutor Urg: 0% user + 0% kernel
0% 31680/dji_background_: 0% user + 0% kernel
0% 31767/Thread-40: 0% user + 0% kernel
0% 31844/DJIExecutor Urg: 0% user + 0% kernel
0% 31845/DJIExecutor Urg: 0% user + 0% kernel
0% 31846/DJIExecutor Urg: 0% user + 0% kernel
0% 31848/DJIExecutor Urg: 0% user + 0% kernel
0% 31850/DJIExecutor Urg: 0% user + 0% kernel
0% 31861/amapLocManagerT: 0% user + 0% kernel
+0% 8620/SwUdpService ti: 0% user + 0% kernel
+0% 8621/SwUdpService ti: 0% user + 0% kernel
3.3% 2964/com.google.android.gms.persistent: 1.9% user + 1.3% kernel / faults: 1176 minor
0.8% 5442/lowpool[513]: 0.3% user + 0.4% kernel
0.4% 30434/lowpool[510]: 0.2% user + 0.2% kernel
Every 5,0s: adb shell dumpsys location | head -100 satellite: Sun Sep 23 08:40:25 2018
Current Location Manager state:
Location Listeners:
Reciever[817eb0b listener UpdateRecord[passive com.google.android.gms(10045 foreground) Request[POWER_NONE passive fas
test=0]]]
Reciever[14e9de8 listener UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=0]]]
Reciever[38b096c listener UpdateRecord[network dji.go.v4(10200 background) Request[POWER_LOW network requested=+1m0s0m
s fastest=+1m0s0ms]]]
Reciever[49a1b35 listener UpdateRecord[gps dji.go.v4(10200 background) Request[ACCURACY_FINE gps requested=+1m0s0ms fa
stest=+1m0s0ms]]]
Reciever[c061c01 listener UpdateRecord[passive com.google.android.gms(10045 foreground) Request[POWER_NONE passive fas
test=0]]]
Reciever[4e86aa6 listener UpdateRecord[passive com.qualcomm.location(1000 foreground) Request[POWER_NONE passive faste
st=0]]]
Reciever[ef3923a listener UpdateRecord[gps dji.go.v4(10200 background) Request[ACCURACY_FINE gps requested=+900ms fast
est=+900ms]]]
Reciever[9d82ce7 listener UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=+30m0s0ms]]
]
Active Records by Provider:
fused:
gps:
UpdateRecord[gps dji.go.v4(10200 background) Request[ACCURACY_FINE gps requested=+1m0s0ms fastest=+1m0s0ms]]
UpdateRecord[gps dji.go.v4(10200 background) Request[ACCURACY_FINE gps requested=+900ms fastest=+900ms]]
passive:
UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=0]]
UpdateRecord[passive android(1000 foreground) Request[POWER_NONE passive fastest=+30m0s0ms]]
UpdateRecord[passive com.qualcomm.location(1000 foreground) Request[POWER_NONE passive fastest=0]]
UpdateRecord[passive com.google.android.gms(10045 foreground) Request[POWER_NONE passive fastest=0]]
UpdateRecord[passive com.google.android.gms(10045 foreground) Request[POWER_NONE passive fastest=0]]
network:
UpdateRecord[network dji.go.v4(10200 background) Request[POWER_LOW network requested=+1m0s0ms fastest=+1m0s0ms]]
Overlay Provider Packages:
network: com.qualcomm.location
fused: com.qualcomm.location
Historical Records by Provider:
com.google.android.gms: gps: Min interval 0 seconds: Max interval 5 seconds: Duration requested 9 out of the last 2292
minutes
android: passive: Min interval 0 seconds: Max interval 1800 seconds: Duration requested 2354 out of the last 2354 minu
tes: Currently active
dji.go.v4: network: Min interval 0 seconds: Max interval 60 seconds: Duration requested 863 out of the last 2293 minut
es: Currently active
com.windyty.android: fused: Interval 0 seconds: Duration requested 0 out of the last 1494 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment