How is the electrical energy used by a device related to the device’s power?