M module-sys/SystemManager/PowerManager.cpp => module-sys/SystemManager/PowerManager.cpp +1 -1
@@ 32,7 32,7 @@ namespace sys
[[nodiscard]] auto CpuFrequencyMonitor::GetTotalRuntimePercentage(
const TickType_t totalTicksIncrease) const noexcept -> std::uint32_t
{
- return totalTicksIncrease == 0 ? 0 : ((totalTicksCount * 100) / totalTicksIncrease);
+ return totalTicksIncrease == 0 ? 0 : ((static_cast<std::uint64_t>(totalTicksCount) * 100) / totalTicksIncrease);
}
[[nodiscard]] auto CpuFrequencyMonitor::GetPeriodRuntimePercentage(
M pure_changelog.md => pure_changelog.md +1 -0
@@ 12,6 12,7 @@
* Fixed MTP issues
### Fixed
+* Fixed incorrect total CPU usage in logs
* Fixed wrong time displayed on password locked screen with 'Quotes' or 'Logo' wallpaper
* Fixed access to the phone before going onboarding
* Fixed receiving an empty SMS message