linux/include/acpi/battery.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ACPI_BATTERY_H
#define __ACPI_BATTERY_H

#include <linux/device.h>
#include <linux/power_supply.h>

#define ACPI_BATTERY_CLASS

#define ACPI_BATTERY_NOTIFY_STATUS
#define ACPI_BATTERY_NOTIFY_INFO
#define ACPI_BATTERY_NOTIFY_THRESHOLD

struct acpi_battery_hook {};

void battery_hook_register(struct acpi_battery_hook *hook);
void battery_hook_unregister(struct acpi_battery_hook *hook);
int devm_battery_hook_register(struct device *dev, struct acpi_battery_hook *hook);

#endif