Add back misc thread

This commit is contained in:
Lightos1
2026-03-20 21:02:24 +01:00
parent 9e916b5d0f
commit 308f39694c
4 changed files with 117 additions and 6 deletions

View File

@@ -30,6 +30,7 @@
#include <algorithm>
#include <math.h>
#include <numeric>
#include "board_misc.hpp"
namespace board {
@@ -114,6 +115,8 @@ namespace board {
BatteryChargeInfo info;
batteryInfoGetChargeInfo(&info);
return info.RawBatteryCharge;
case HocClkPartLoad_FAN:
return GetFanLevel();
default:
ASSERT_ENUM_VALID(SysClkPartLoad, loadSource);
}