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