Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -444,12 +444,12 @@ apply_wireless_profile(){

apply_idle_profile(){
if [ "$KEEP_WIFI_IN_IDLE" = "1" ]; then wifi_on; else wifi_off; fi
if [ "$KEEP_DATA_IN_CAR" = "1" ]; then
if [ "$DATA_OFF_OUTSIDE" = "1" ]; then
data_off
else
data_on
sleep 2 # Give data time to connect
check_data_connection
else
data_off
fi
battery_saver_on
set_cpu_max "$IDLE_MAX_CPU_FREQ"
Expand Down