Towards energy-aware intrusion detection systems on mobile devices