PowerLoadGauge

Domain · UPS

Load percentage gauge with watts/VA display and color-coded bar (green < 50%, yellow 50-80%, red > 80%).

Normal load

Preview
42% load
1134 W / 874 VA

of 2700 W capacity

Code
<%- include('../../../modules/domain/ups/PowerLoadGauge', { loadPercent: output.loadPercent, watts: output.watts, va: output.va, capacity: ups }) %>

Critical load

Preview
87% load
2349 W / 2610 VA

of 2700 W capacity

Code
<%- include('../../../modules/domain/ups/PowerLoadGauge', { loadPercent: 87, watts: 2349, va: 2610 }) %>
Source modules/domain/ups/PowerLoadGauge.ejs