Test scenario:
Clean install with developer mode so I can access the device via adb shell. Device is on the lock screen, sitting idle, so essentially is should be doing not a lot.
I ran eventstat to see which processes are generating the most wakeups:
root@ubuntu-phablet:~# eventstat 60 1 Event/s PID Task Init Function Callback 87.00 0 [swapper/0] hrtimer_start_range_ns tick_sched_timer 39.05 3759 scopes_ng::Scop hrtimer_start_range_ns hrtimer_wakeup 16.68 5 [kworker/u:0] hwmsen_work_func hwmsen_poll 10.00 3951 ubuntu-location hrtimer_start_range_ns hrtimer_wakeup
Then I strace'd PID 3759, strace -p 3759 -e connect
Test scenario:
Clean install with developer mode so I can access the device via adb shell. Device is on the lock screen, sitting idle, so essentially is should be doing not a lot.
I ran eventstat to see which processes are generating the most wakeups:
root@ubuntu- phablet: ~# eventstat 60 1 start_range_ ns tick_sched_timer start_range_ ns hrtimer_wakeup start_range_ ns hrtimer_wakeup
Event/s PID Task Init Function Callback
87.00 0 [swapper/0] hrtimer_
39.05 3759 scopes_ng::Scop hrtimer_
16.68 5 [kworker/u:0] hwmsen_work_func hwmsen_poll
10.00 3951 ubuntu-location hrtimer_
Then I strace'd PID 3759,
strace -p 3759 -e connect