Location Detection with Low Power Consumption for Obtaining Context Data for Mobile Devices