diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpm-upower.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpm-upower.c b/src/gpm-upower.c index f659c51..5deb1f7 100644 --- a/src/gpm-upower.c +++ b/src/gpm-upower.c @@ -652,6 +652,10 @@ gpm_device_state_to_localised_string (UpDeviceState state) /* TRANSLATORS: battery state */ state_string = _("Waiting to discharge"); break; + case UP_DEVICE_STATE_UNKNOWN: + /* TRANSLATORS: battery state */ + state_string = _("Unknown state"); + break; default: g_assert_not_reached (); break; |