[PATCH] [PATCH sxmo-utils] Add device profile for Nexus 5 (battery device)
Export this patch
---
scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh
diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh b/scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh
new file mode 100644
index 0000000..805599e
--- /dev/null
+++ b/scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Nexus 5
+
+export BATTERY_DEVICE="/sys/class/power_supply/battery"
--
2.25.1
sxmo-utils/patches/.build.yml: SUCCESS in 31s
[Add device profile for Nexus 5 (battery device)][0] from [Max Schillinger][1]
[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/23640
[1]: mailto:maxschillinger@web.de
✓ #539644 SUCCESS sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/539644
Thanks! Merged
To git.sr.ht:~mil/sxmo-utils
50f1c4e..4557aa5 master -> maste