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.