Re: [gpm] (more) useful popups
- From: Richard Hughes <hughsient gmail com>
- To: Tomasz Torcz <zdzichu irc pl>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] (more) useful popups
- Date: Tue, 20 Mar 2007 18:58:54 +0000
On Mon, 2007-03-19 at 19:29 +0100, Tomasz Torcz wrote:
> last time when I saw battery critical popup I thought -- couldn't
> this popup carry more information? Instead of plain ,,you have 10
> minutes left'' there sould be something like ,,computer will go into
> hibernation in 10 minutes''. Or ,,will suspend'', or ,,will power
> off'',
> depending on current configuration of g-p-m.
> Is this possible?
Yes, very possible. When the battery gets "action" low - i.e. when the
action is performed, we tell the user what will happen.
This is what we have at the moment:
title = _("Laptop battery critically low");
remaining = gpm_get_timestring (unit->time_discharge);
message = g_strdup_printf (_("You have approximately <b>%s</b> of remaining battery life (%d%%). "
"Plug in your AC adapter to avoid losing data."),
remaining, unit->percentage);
Does it make sense to have:
message = g_strdup_printf (_("You have approximately <b>%s</b> of remaining battery life (%d%%). "
"Plug in your AC adapter to avoid losing data."
"In %s your computer will automatically suspend due to low power"),
remaining, unit->percentage, time_until_action);
Comments please!
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]