add sys_class_power_supply charts info (#11619)
Ilya Mashchenko committed
Oct 5, 2021 at 14:53 UTC
6aa0634bd30bfcaaf6bca8f402fac529bdb3f32a
1 file changed
+19
-4
web/gui/dashboard_info.js
+19
-4
@@ -4329,19 +4329,34 @@ netdataDashboard.context = {
4329
// Power Supplies
4330
4331
'powersupply.capacity': {
4332
- info: undefined
4332
+ info: 'The current battery charge.'
4333
},
4334
4335
'powersupply.charge': {
4336
- info: undefined
4336
+ info: '<p>The battery charge in Amp-hours.</p>'+
4337
+ '<p><b>now</b> - actual charge value. '+
4338
+ '<b>full</b>, <b>empty</b> - last remembered value of charge when battery became full/empty. '+
4339
+ 'It also could mean "value of charge when battery considered full/empty at given conditions (temperature, age)". '+
4340
+ 'I.e. these attributes represents real thresholds, not design values. ' +
4341
+ '<b>full_design</b>, <b>empty_design</b> - design charge values, when battery considered full/empty.</p>'
4342
},
4343
4344
'powersupply.energy': {
4340
- info: undefined
4345
+ info: '<p>The battery charge in Watt-hours.</p>'+
4346
+ '<p><b>now</b> - actual charge value. '+
4347
+ '<b>full</b>, <b>empty</b> - last remembered value of charge when battery became full/empty. '+
4348
+ 'It also could mean "value of charge when battery considered full/empty at given conditions (temperature, age)". '+
4349
+ 'I.e. these attributes represents real thresholds, not design values. ' +
4350
+ '<b>full_design</b>, <b>empty_design</b> - design charge values, when battery considered full/empty.</p>'
4351
},
4352
4353
'powersupply.voltage': {
4344
- info: undefined
4354
+ info: '<p>The power supply voltage.</p>'+
4355
+ '<p><b>now</b> - current voltage. '+
4356
+ '<b>max</b>, <b>min</b> - voltage values that hardware could only guess (measure and retain) the thresholds '+
4357
+ 'of a given power supply. '+
4358
+ '<b>max_design</b>, <b>min_design</b> - design values for maximal and minimal power supply voltages. '+
4359
+ 'Maximal/minimal means values of voltages when battery considered "full"/"empty" at normal conditions.</p>'
4360
},
4361
4362
// ------------------------------------------------------------------------