Added some hardware functions

These functions allows to know if a specific hardware is present in the
mobile.