getPerformanceHealth method

  1. @override
Future<Map<String, dynamic>> getPerformanceHealth()
override

Raw thermal and CPU metrics map from the host.

Implementation

@override
Future<Map<String, dynamic>> getPerformanceHealth() async {
  return <String, dynamic>{
    'thermal_state': 'unknown',
    'cpu_core_count': web.window.navigator.hardwareConcurrency,
    'cpu_usage_percent': null,
    'device_performance_class': null,
  };
}