summarylogtreecommitdiffstats
path: root/ignore-pdd.patch
blob: 5ef4c9f05a7fdb1c31ef7b9c036acb19b43470a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/func.d/10-tlp-func-cpu	2023-10-24 16:57:25.628985129 +0800
+++ b/func.d/10-tlp-func-cpu	2023-10-24 16:49:16.221564881 +0800
@@ -504,12 +504,12 @@
     fi
 
     if [ -f $FWACPID/platform_profile ]; then
-        if check_ppd_active; then
+        # if check_ppd_active; then
             # do not apply platform profile when power-profiles-daemon is running
-            echo_message "Warning: PLATFORM_PROFILE_ON_AC/BAT is not set because power-profiles-daemon is running."
-            echo_debug "pm" "set_platform_profile($1).nop_ppd_active"
-            return 0
-        fi
+        #     echo_message "Warning: PLATFORM_PROFILE_ON_AC/BAT is not set because power-profiles-daemon is running."
+        #     echo_debug "pm" "set_platform_profile($1).nop_ppd_active"
+        #     return 0
+        # fi
 
         if write_sysf "$pwr" $FWACPID/platform_profile; then
             echo_debug "pm" "set_platform_profile($1): $pwr"