power.c fix log

Fix: Error opening /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate: No such file or directory