BatteryStat: show current battery percentage (#9814)

reviewable/pr9822/r1
melyux 1 year ago committed by GitHub
parent 38797498da
commit 78772fcbb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,7 @@ local dbg = require("dbg")
local time = require("ui/time")
local util = require("util")
local _ = require("gettext")
local T = require("ffi/util").template
local State = {}
@ -212,7 +213,7 @@ function BatteryStat:showStatistics()
end)
end})
self.kv_page = KeyValuePage:new{
title = _("Battery statistics"),
title = T(_("Battery statistics (now %1%)"), self.awake_state.percentage),
kv_pairs = kv_pairs,
single_page = true,
}

Loading…
Cancel
Save