configurations: Bletchley: add BridgeGpio and PollRate for P3V_BAT
Add below two items to P3V_BAT to reduce power consumption of battery
- Add a BridgeGpio (BAT_DETECT) for P3V_BAT sensor for reducing power
consumption when ADC sensor not being read
- Increase PollRate to 86400 seconds, read once every 24 hours
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I73aee2754d1c56f74be5cede4062ba20fe4a77c9
diff --git a/configurations/bletchley_baseboard.json b/configurations/bletchley_baseboard.json
index e8b5ac7..cd52f03 100644
--- a/configurations/bletchley_baseboard.json
+++ b/configurations/bletchley_baseboard.json
@@ -61,8 +61,16 @@
"Type": "ADC"
},
{
+ "BridgeGpio": [
+ {
+ "Name": "BAT_DETECT",
+ "Polarity": "High",
+ "SetupTime": 1
+ }
+ ],
"Index": 3,
"Name": "P3V_BAT",
+ "PollRate": 86400,
"ScaleFactor": 0.332226,
"Thresholds": [
{