1. An electronic device comprising: a kernel; a power manager to control power to a hardware component; and a neural network to monitor the kernel to recognize performance of a function of the electronic device, the neural network to send a signal to the power manager to reduce or turn off power to the hardware component based on information generated during monitoring of the kernel, wherein the neural network is to recognize performance of the function of the electronic device based on symbols generated from the kernel, and wherein the symbols are to be generated from the kernel based on probes set within the instructions to be executed by the kernel during performance of the function.