If they were interested in my location they could request location data. What are the odds they are doing this to directly market products to people based on health data?
Inb4 “They already do that based on what you regularly purchase”
Of course, yes they do. This appears to be one more layer on top of it. And surely they wouldn’t share that information with the pharmacy, right?
They want to use your gyroscope to synchronize your movement within the store with their mapping of what products are on which shelves.
Historically this has been done by offering free in-store Wi-Fi and then triangulating the movement of cell phones within the store based on their signal strength from the perspective of the various Wi-Fi access point supporting the store’s network, but a gyroscope will even tell them if you crouch down or turn around.