The online reference manual for UPower is version 0.9.8. If you try to call the documented Suspend method on a recent install, you will be frustrated. Because UPower removed the Suspend method. It would be preferable if the online build of the docs described something more recent, than 0.9.8 from 7 years ago. AFAICT these are generated from the source tree, so it doesn't require writing new docs.
Updated, thanks for opening the bug. Richard.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.