]> Git Repo - J-u-boot.git/blame - include/power/battery.h
Merge git://git.denx.de/u-boot-rockchip
[J-u-boot.git] / include / power / battery.h
CommitLineData
bd8479e8
ŁM
1/*
2 * Copyright (C) 2012 Samsung Electronics
3 * Lukasz Majewski <[email protected]>
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
bd8479e8
ŁM
6 */
7
8#ifndef __POWER_BATTERY_H_
9#define __POWER_BATTERY_H_
10
11struct battery {
12 unsigned int version;
13 unsigned int state_of_chrg;
14 unsigned int time_to_empty;
15 unsigned int capacity;
16 unsigned int voltage_uV;
17
18 unsigned int state;
19};
20
21int power_bat_init(unsigned char bus);
22#endif /* __POWER_BATTERY_H_ */
This page took 0.182006 seconds and 4 git commands to generate.