Except they a) know where the room is anyhow and b) GPS doesn't tend to work very well indoors
I doubt the hotel came up with this solution completely by themselves. Whoever installed it will probably install it elsewhere and it's only a matter of time until it goes badly.