aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivedita Swaminathan <nivedita.swaminathan@intel.com>2015-10-30 16:29:15 -0700
committerAlexandra Yates <alexandra.yates@linux.intel.com>2015-10-30 17:06:17 -0700
commit445576710ad4d7402790e61b986b1d5cd885790a (patch)
treef202b6b4bb0d13ed7c557648354154000f5e237c
parentc44218dc57ab5c6f4754832a1fea2728c62848dc (diff)
downloadpowertop-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.cpp1
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;
}