# Cordova geolocation plugin not working in moto g 2nd gen

**URL:** <https://forum.ionicframework.com/t/cordova-geolocation-plugin-not-working-in-moto-g-2nd-gen/64927>\
**Category:** cordova\
**Created:** [September 29, 2016, 5:14am UTC](https://forum.ionicframework.com/t/cordova-geolocation-plugin-not-working-in-moto-g-2nd-gen/64927 "2016-09-29T05:14:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajay\_gupta1](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ajay\_gupta1](https://forum.ionicframework.com/u/ajay_gupta1)\
**Post date:** [September 29, 2016, 5:14am UTC](https://forum.ionicframework.com/t/cordova-geolocation-plugin-not-working-in-moto-g-2nd-gen/64927/1 "2016-09-29T05:14:01Z")

</div>

After successfully testing [ngcordova geolocation](https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-geolocation/) on various devices like samsung, redmi, one plus, lenovo, karbon and micromax I was able to fetch GPS coords. But the test failed for Moto g 2nd gen. Testing scenario was to fetch GPS coords by selecting GPS only/device only as the location mode.  
Moto g 2nd gen has passed the test case when the location mode was changed to ‘High accuracy’ and ‘battery saving’.
