summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@geanix.com>2019-08-13 20:08:53 +0200
committerDenis Kenzior <denkenz@gmail.com>2019-08-13 05:48:47 -0500
commitbff7de95520ae965c491681d36de5aa239547f92 (patch)
tree15966b7b3f74eb8cf9b65cf6ec1f8dac5cf0cb38 /plugins
parentcbd8a66e9554097e2e2a3c0704825a3af1a664ac (diff)
downloadofono-bff7de95520ae965c491681d36de5aa239547f92.tar.gz
quectel: convert power event reasons to lower case
Diffstat (limited to 'plugins')
-rw-r--r--plugins/quectel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/quectel.c b/plugins/quectel.c
index eef66ced..ccfc6c5f 100644
--- a/plugins/quectel.c
+++ b/plugins/quectel.c
@@ -365,27 +365,27 @@ static void voltage_handle(struct ofono_modem *modem,
case LOW_POWER_DOWN:
close = true;
name = "PowerDown";
- reason = "VoltageLow";
+ reason = "voltagelow";
break;
case LOW_WARNING:
close = false;
name = "PowerWarning";
- reason = "VoltageLow";
+ reason = "voltagelow";
break;
case NORMAL_POWER_DOWN:
close = true;
name = "PowerDown";
- reason = "Normal";
+ reason = "normal";
break;
case HIGH_WARNING:
close = false;
name = "PowerWarning";
- reason = "VoltageHigh";
+ reason = "voltagehigh";
break;
case HIGH_POWER_DOWN:
close = true;
name = "PowerDown";
- reason = "VoltageHigh";
+ reason = "voltagehigh";
break;
default:
return;