Display correct Power Consumption & Cap values

Current values are hard coded to '000 W'.
This fix is to do REST calls and display the correct values.

Resolves openbmc/openbmc#2735

Change-Id: I2f6766f1685a2bd52da62cda19998794f80270ec
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
diff --git a/app/common/services/constants.js b/app/common/services/constants.js
index af0965d..0bb2123 100644
--- a/app/common/services/constants.js
+++ b/app/common/services/constants.js
@@ -122,7 +122,15 @@
                     CRITICAL_NO_SENSOR_DATA: 'There are no sensors in Critical state.',
                     WARNING_NO_SENSOR_DATA: 'There are no sensors in Warning state.'
                   }
-                }
+                },
+                POWER_CAP_TEXT: {
+                    unit: 'W',
+                    disabled: 'Not Enabled'
+                },
+                POWER_CONSUMPTION_TEXT: {
+                    'xyz.openbmc_project.Sensor.Value.Unit.Watts': 'W',
+                    notavailable: 'Not Available'
+                },
             };
         });