mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-14 00:14:14 +09:00
display fans with 0 value, fix #11
This commit is contained in:
@@ -29,10 +29,8 @@ const SensorsUtil = new Lang.Class({
|
||||
},
|
||||
|
||||
get rpm() {
|
||||
let s = this._parseGenericSensorsOutput(this._parseFanRPMLine);
|
||||
return s.filter(function(e){
|
||||
return e.rpm > 0;
|
||||
});
|
||||
// 0 is normal value for turned off fan
|
||||
return this._parseGenericSensorsOutput(this._parseFanRPMLine);
|
||||
},
|
||||
|
||||
get volt() {
|
||||
|
||||
Reference in New Issue
Block a user