How to get the CPU utilization in the android app on ChromeBook
48 views
Skip to first unread message
changePosition
unread,
May 26, 2025, 11:17:54 PMMay 26
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ChromiumOS Discussion
Android 8 and above systems no longer support reading the /proc/stat file to obtain the CPU running time, but the Android application on the mobile phone can get the CPU running time by reading the value of /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state. But I found that ChromeBook does not have the file /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state. The kernel file system of ChromeBook is different from that of the mobile phone. How can I get the CPU information?
By typing chrome://sys-internals in the Chrome browser on a ChromeBook, you can see detailed CPU information. So how can I get the device's CPU information through code in the ChromeBook App?