|
|
|
@ -1463,7 +1463,7 @@ bool hardwareManager::updateSysInfo( DBC_SYS_LOAD_INFO *ptr ){ |
|
|
|
FILE *fd = fopen( tB, "r" ); |
|
|
|
readLine( fd, tB, 128 ); |
|
|
|
fclose(fd); |
|
|
|
if ( strcasestr(tB,"cpu")!=NULL || strcasestr(tB,"x86_pkg")!=NULL) { |
|
|
|
if ( strcasestr(tB,"cpu")!=NULL || strcasestr(tB,"x86_pkg")!=NULL || strcasestr(tB,"acpitz")!=NULL ) { |
|
|
|
sprintf( tB, "/sys/class/thermal/thermal_zone%d/temp", i ); |
|
|
|
FILE *fd = fopen( tB, "r" ); |
|
|
|
readLine( fd, tB, 128 ); |
|
|
|
|