Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dbus] Add method for querying uptime and suspend time. Fixes JB#31310
Usually test automation scripts can get suspend statistics from proc fs. But as some devices do not have the necessary kernel interfaces, we need to have a common way to get suspend vs uptime statistics. Add a dbus-method for querying uptime and time spent in suspend. Provide mcetool option "--get-suspend-stats" for getting it in a form that easy to use from scripts.
- Loading branch information
Showing
3 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters