Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ cat start_charge_thresh
- cat: start_charge_thresh: No such device or address
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ cat stop_charge_thresh
- 95
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ uname -r
- 3.2.0-2-amd64
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ sudo echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
- bash: /sys/devices/platform/smapi/BAT0/start_charge_thresh: Permission denied
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ sudo sh -c "echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh"
- [sudo] password for carlos:
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ cat start_charge_thresh
- cat: start_charge_thresh: No such device or address
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ tail /etc/sys
- sysctl.conf sysctl.d/ sysfs.conf systemd/
- carlos@event-horizon:/sys/devices/platform/smapi/BAT0$ tail /etc/sysfs.conf
- # devices/system/cpu/cpu0/cpufreq/scaling_governor = userspace
- # devices/system/cpu/cpu0/cpufreq/scaling_setspeed = 600000
- #
- # Set permissions of suspend control file
- # mode power/state = 0660
- # owner power/state = root:power
- devices/platform/smapi/BAT0/start_charge_thresh = 40
- devices/platform/smapi/BAT0/stop_charge_thresh = 95
Advertisement
Add Comment
Please, Sign In to add comment