diff options
author | Nivedita Swaminathan <nivedita.swaminathan@intel.com> | 2015-10-30 16:29:15 -0700 |
---|---|---|
committer | Alexandra Yates <alexandra.yates@linux.intel.com> | 2015-10-30 17:06:17 -0700 |
commit | 445576710ad4d7402790e61b986b1d5cd885790a (patch) | |
tree | f202b6b4bb0d13ed7c557648354154000f5e237c | |
parent | c44218dc57ab5c6f4754832a1fea2728c62848dc (diff) | |
download | powertop-2.0-445576710ad4d7402790e61b986b1d5cd885790a.tar.gz |
Additional message printed to the powertop output
Adding an additional message to the powertop output to let the
users know that the saved_parameters.powertop file gets generated
only when minimum number of measurements are taken when connected
to the battery.
Signed-off-by: Nivedita Swaminathan <nivedita.swaminathan@intel.com>
-rw-r--r-- | src/parameters/persistent.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parameters/persistent.cpp b/src/parameters/persistent.cpp index 9a5688a..0711b4d 100644 --- a/src/parameters/persistent.cpp +++ b/src/parameters/persistent.cpp @@ -178,6 +178,7 @@ void load_parameters(const char *filename) file.open(pathname, ios::in); if (!file) { cout << _("Cannot load from file") << " " << pathname << "\n"; + cout << _("File will be loaded after taking minimum number of measurement(s) with battery only \n"); return; } |