#!/bin/bash

# thinkapd
echo 1 > /sys/class/power_supply/BAT0/charge_start_threshold; echo 12 > /sys/class/power_supply/BAT0/charge_stop_threshold  
/usr/sbin/tlp  setcharge 5 10
#
# Dell
# https://www.dell.com/community/en/conversations/linux-general/setting-the-battery-charge-level-within-linux/647f7222f4ccf8a8defc7422
# https://github.com/glynhudson/dell-charge-limit/issues/3
# from https://www.dell.com/support/article/en-uk/sln311302/dell-command-configure?lang=en
/opt/dell/dcc/cctk --PrimaryBattChargeCfg=Custom:50-55


