Sorry deverts, meant to reply weeks ago. As blsanner mentioned, these gauges are built-in. Just add the desired gauge as he indicated and then edit the resource, and pick the appropriate UnDP that you created to associate to the gauge. If you need to reverse the gauge, for example, in the case of battery level you want 10% to be critical rather than 90%, click the "Show" button beside the Advanced section header (on the resource config) and then select "Reverse Thresholds".