| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
#include "shared-forward.h" |
| 5 |
|
| 6 |
int on_ac_power(void); |
| 7 |
|
| 8 |
int battery_is_discharging_and_low(void); |
| 9 |
|
| 10 |
int battery_enumerator_new(sd_device_enumerator **ret); |
| 11 |
int battery_read_capacity_percentage(sd_device *dev); |