sriharshaarangi / BatteryChargeLimit

GNU General Public License v3.0
382 stars 104 forks source link

LG V30 & V30+ (works but in-case you want model-specific entries) #150

Closed solidsneak closed 5 years ago

solidsneak commented 5 years ago

The LG V30 and LG V30+ are identical phones aside from the internal storage on the V30 being 64 GB and on the V30+ it's 128 GB. This should be applicable to both.

file: "/sys/class/power_supply/battery/battery_charging_enabled" suggestion for details: "LG V30/+" chargeOn: "1" chargeOff: "0"

Please let me know if you need more information. This does work with the V30+ as installed, by default but I'm not sure if you want to include specific phones for any reason or not.

milux commented 5 years ago

This file is already available, tagged with "Nexus" (the phone were it was observed first). I don't see the point of this request. If I'm mistaken, please reply to me and I will reopen.

solidsneak commented 5 years ago

The point was in the parenthesis in the title.

milux commented 5 years ago

@solidsneak Good point, thank you. As some control files work for a large variety of devices, we usually stick to the first device where it was observed to work, but maybe this will be changed in the future.