mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 19:11:08 +00:00
Valve's mangoapp reads an Adreno GPU's load, clock and temperatures from the paths of its own hardware, and the CPU temperature from thermal zones named as mainline kernels name them. Every Adreno under Android keeps the GPU values in KGSL's sysfs, readable by the app, and Android kernels name the CPU sensors cpuss-N / cpu-N-M; the session binds each where mangoapp looks. Thermal zones are found by sensor name, since their numbering differs per device, and anything that cannot be found is left alone.