#! /bin/sh echo $1 > /sys/devices/platform/smapi/BAT0/start_charge_thresh echo $2 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh echo "start_charging_thresh = $(cat /sys/devices/platform/smapi/BAT0/start_charge_thresh)" echo "stop_charging_thresh = $(cat /sys/devices/platform/smapi/BAT0/stop_charge_thresh)"