mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: try to fix offline charging
This commit is contained in:
parent
dde4a9b557
commit
71ae2a9336
2 changed files with 2 additions and 4 deletions
|
@ -99,10 +99,8 @@ on init
|
|||
write /dev/cpuset/camera-daemon/cpus 0-3
|
||||
|
||||
on charger
|
||||
wait /dev/block/platform/msm_sdcc.1/by-name/system
|
||||
mount ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system ro barrier=1 errors=panic
|
||||
|
||||
class_start charger
|
||||
|
||||
write /sys/devices/system/cpu/cpu1/online 1
|
||||
write /sys/devices/system/cpu/cpu2/online 1
|
||||
write /sys/devices/system/cpu/cpu3/online 1
|
||||
|
|
|
@ -585,7 +585,7 @@ service adsprpcd /vendor/bin/adsprpcd
|
|||
user media
|
||||
group media
|
||||
|
||||
service charger /system/system/bin/charger
|
||||
service charger /system/bin/charger
|
||||
class charger
|
||||
user system
|
||||
group system graphics input
|
||||
|
|
Loading…
Reference in a new issue