#
# Copyright (c) 2023, Red Hat.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# This file is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
#
# Denki (power) derived metrics
#
denki.bat.energy_now_rate = rate(denki.bat.energy_now) * 3600
denki.bat.energy_now_rate(oneline) = Rate of charging/discharging the battery
denki.bat.energy_now_rate(helptext) = '\
The rate of charging/discharging the battery, computed from looking at the
current charge level of the battery over time.'
