Get CPU usage of a device running Android 8 Oreo

后端 未结 1 1558
夕颜
夕颜 2021-02-14 06:07

I\'m really confused. I have just noticed that starting from Android 8 all system calls like /proc/stat will be disabled. Ok, but what is work around to get CPU Usage in Android

1条回答
  •  离开以前
    2021-02-14 06:44

    No, all of /proc/stat has been disabled for non-System apps, as a side-channel.

    More information, with an official response from Google here: https://issuetracker.google.com/issues/37140047

    0 讨论(0)
提交回复
热议问题