ConnectIQ SDK : 1.2.3
Eclipse : Mars.1 Release (4.5.1)
I am under the impression that this is not allowed due to battery conservation efforts (see attached image).
I got all excited that I could add altitude data to my watch face but when I try to implement the class Toybox.Sensor as such (having added the appropriate permission to my manifest):
using Toybox.Sensor as Sens;
class MyWatchFace extends Ui.WatchFace {
function onUpdate(dc) {
snsr = Sens.getInfo();
alt = snsr.altitude;
.
.
.
}
}
The compiler throws a 'Permission Required / Failed invoking <symbol>' error which is to be expected, I guess. If this is not allowed then why is the option available?