@@ -68,8 +68,17 @@ export class PowerTools {
68
68
async getTDPRange ( ) : Promise < TDPRange > {
69
69
const cpuid = await this . getCPUID ( ) ;
70
70
switch ( cpuid ) {
71
+ case 'AMD Ryzen 5 5560U with Radeon Graphics' : {
72
+ this . tdp_range . tdp_min_val = 2 ;
73
+ this . tdp_range . tdp_max_val = 15 ;
74
+ this . tdp_range . tdp_default_val = 6 ;
75
+ this . tdp_range . tdp_max_boost = 2 ;
76
+ break ;
77
+ }
78
+
71
79
case 'AMD Ryzen 5 4500U with Radeon Graphics' :
72
80
case 'AMD Ryzen 7 5700U with Radeon Graphics' :
81
+ case 'AMD Ryzen 7 5800U with Radeon Graphics' :
73
82
case '11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz' :
74
83
case '11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz' :
75
84
case '11th Gen Intel(R) Core(TM) i7-1195G7 @ 2.90GHz' : {
@@ -79,16 +88,22 @@ export class PowerTools {
79
88
this . tdp_range . tdp_max_boost = 2 ;
80
89
break ;
81
90
}
82
- case 'AMD Ryzen 7 4800U with Radeon Graphics' :
83
- case 'AMD Ryzen 7 5800U with Radeon Graphics' :
91
+ case 'AMD Ryzen 7 4800U with Radeon Graphics' : {
92
+ this . tdp_range . tdp_min_val = 5 ;
93
+ this . tdp_range . tdp_max_val = 30 ;
94
+ this . tdp_range . tdp_default_val = 15 ;
95
+ this . tdp_range . tdp_max_boost = 4 ;
96
+ break ;
97
+ }
84
98
case 'AMD Ryzen 7 5825U with Radeon Graphics' : {
85
99
this . tdp_range . tdp_min_val = 5 ;
86
- this . tdp_range . tdp_max_val = 33 ;
100
+ this . tdp_range . tdp_max_val = 32 ;
87
101
this . tdp_range . tdp_default_val = 15 ;
88
- this . tdp_range . tdp_max_boost = 5 ;
102
+ this . tdp_range . tdp_max_boost = 6 ;
89
103
break ;
90
104
}
91
105
}
106
+ }
92
107
return this . tdp_range ;
93
108
}
94
109
0 commit comments