Energy consumption metrics for mobile device dynamic malware detection