Windows8 sensors perf issue with Touch object

0 favourites
  • 4 posts
From the Asset Store
This is a single chapter from the "Construct Starter Kit Collection". It is the Student Workbook for its Workshop.
  • Ashley:

    It looks like the Touch object is instantiating accelerometer and inclinometer sensors even if the game is really not making use of those sensors.

    This potentially will lead the OS to turn the sensors On and resulting in perf issues and unnecessary power drain - for every game which uses Touch object.

  • Is there really power drain? I did not see anything about that in MS documentation, and I assumed it was a non-issue because other devices (iOS and Android) have their accelerometers and inclinometers always on, and that has never seemed to be an issue. Do you have an official reference for this you can forward me to?

  • With my knowledge of the driver stack, the OS does indeed have to do extra work pumping up the data from lower stack to application layer - so it is definitely not free.

    Furthermore, blogs.msdn.com/b/b8/archive/2012/01/24/supporting-sensors-in-windows-8.aspx has a reference to this topic:

    "...Each active sensor on a system draws power, and sending data up the stack consumes both memory and CPU time." If you read further, the sensor fusion helped "minimize" the power/perf impact but there will still be some impact since it is never free.

    Hence unless it is required, we should not register for sensor API callbacks.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I assume the battery usage from sensors will be negligable compared to the CPU/GPU use from a game which tends to run both at capacity on mobile devices. Considering this has never come up before as an issue on iOS or Android devices, I'm happy to treat Windows 8 the same and leave them always on. Thanks for the suggestion but I think this should be closed as won't fix.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)