From 2f0eb4ffe6c05f453fcc190e53f6b272a6de5e10 Mon Sep 17 00:00:00 2001 From: Maxim Karasev Date: Sun, 29 Aug 2021 14:28:37 +0300 Subject: [PATCH] Drop "BATTERY_DEVICE" property in deviceprofiles Isn't needed anymore as we now have reliable and universal battery autodetection. Signed-off-by: Stacy Harper --- scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh | 5 ----- scripts/deviceprofiles/sxmo_deviceprofile_l8150qcom.sh | 2 -- 2 files changed, 7 deletions(-) delete mode 100644 scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh b/scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh deleted file mode 100644 index 805599e..0000000 --- a/scripts/deviceprofiles/sxmo_deviceprofile_hammerheadqcom.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -# Nexus 5 - -export BATTERY_DEVICE="/sys/class/power_supply/battery" diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_l8150qcom.sh b/scripts/deviceprofiles/sxmo_deviceprofile_l8150qcom.sh index 3ae0a4c..39fb39d 100644 --- a/scripts/deviceprofiles/sxmo_deviceprofile_l8150qcom.sh +++ b/scripts/deviceprofiles/sxmo_deviceprofile_l8150qcom.sh @@ -2,8 +2,6 @@ # Wileyfox Swift (wileyfox-crackling) -export BATTERY_DEVICE="/sys/class/power_supply/pm8916-bms-vm" - export TOUCH_POINTER_ID="10" export ROTATION_GRAVITY="500"