Remove some gunk and fix indent

This commit is contained in:
Quad 2021-05-23 12:28:49 +02:00
parent 887a9b4e45
commit 34ab214c39
1 changed files with 23 additions and 24 deletions

View File

@ -171,9 +171,9 @@ check_tdp () {
local pl1=$(uw_to_w $(get_pl 1))
local pl2=$(uw_to_w $(get_pl 2))
echo "PL1 is ${pl1}W" # Placeholder
echo "PL1 is ${pl1}W"
if ( is_detailed $@ ); then
echo "PL2 is ${pl2}W" # Placeholder
echo "PL2 is ${pl2}W"
fi
elif ( is_help $@ ); then
@ -256,7 +256,6 @@ gui_handler() {
20 "`printf "\n 20W (High power)\n "`" \
28 "`printf "\n 28W (Max power / Docked)\n "`"
)
echo $gui_tdp
if ! [ -z $gui_tdp ]; then
gui_msg "$(tdp set $gui_tdp --detail)"
fi