Add a counter for user power allowlist modifications

Count number of times any app is added to or removed from the power
allowlist. This should normally happen only when the user opts an
app out of power restrictions from Settings

Test: N/A

Bug: 263411625
Change-Id: I4cdfa3ecececa5a2f19024d59b0fc4e95e1dcd8a
diff --git a/stats/express/catalog/battery.cfg b/stats/express/catalog/battery.cfg
index 656cf62..57817b0 100644
--- a/stats/express/catalog/battery.cfg
+++ b/stats/express/catalog/battery.cfg
@@ -7,3 +7,23 @@
     unit: UNIT_COUNT
     type: COUNTER_WITH_UID
 }
+
+express_metric {
+    id: "battery.value_app_added_to_power_allowlist"
+    display_name: "App power allowlist addition events"
+    description: "Number of times any app is added to the power allowlist"
+    owner_email: "nalini-team@google.com"
+    owner_email: "suprabh@google.com"
+    unit: UNIT_COUNT
+    type: COUNTER
+}
+
+express_metric {
+    id: "battery.value_app_removed_from_power_allowlist"
+    display_name: "App power allowlist removal events"
+    description: "Number of times any app is removed from the power allowlist"
+    owner_email: "nalini-team@google.com"
+    owner_email: "suprabh@google.com"
+    unit: UNIT_COUNT
+    type: COUNTER
+}