[critical bug] Xperia X / 3.0.2.8 : High CPU load caused by ofonod
asked 2019-04-02 16:23:15 +0200
This post is a wiki. Anyone with karma >75 is welcome to improve it.
Battery drain caused by ofonod. "# top" shows:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25224 radio 20 0 20220 3784 2996 R 99.6 0.1 322:31.67 ofonod
Any ideas to prevent this?
Did you try to restart ofono?
dirksche ( 2019-04-02 19:07:50 +0200 )editdevel-su systemctl restart ofono
Just a shot in the darkSure, I can restart the service but this handles only the symptoms. The focus of the question is more on the cause of this critical behavior.
Leon ( 2019-04-03 13:30:35 +0200 )editIs the problem reproducible?
slava ( 2019-04-03 14:32:23 +0200 )edit@slava: I noticed this accidentally (it was connected to USB but the battery didn't got charged). Since then every time when the phone is warmer/hotter then normal, I check the CPU usage. This high cpu load was identified a couple of times now. It is not clear what the trigger is. The phone usage from my side is quite normal; phone calls, SMS and Mail usage, no WIFI, no Android middleware installed.
Leon ( 2019-04-03 17:56:27 +0200 )editPlease install Ofono Logger app from Jolla store (or openrepos) and capture the log next time it happens. That may help to understand what ofono is doing.
slava ( 2019-04-03 18:54:45 +0200 )edit