Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
acpi_battery Struct Reference

Data Fields

struct mutex lock
 
struct mutex sysfs_lock
 
struct power_supply bat
 
struct acpi_device * device
 
struct notifier_block pm_nb
 
unsigned long update_time
 
int rate_now
 
int capacity_now
 
int voltage_now
 
int design_capacity
 
int full_charge_capacity
 
int technology
 
int design_voltage
 
int design_capacity_warning
 
int design_capacity_low
 
int cycle_count
 
int measurement_accuracy
 
int max_sampling_time
 
int min_sampling_time
 
int max_averaging_interval
 
int min_averaging_interval
 
int capacity_granularity_1
 
int capacity_granularity_2
 
int alarm
 
char model_number [32]
 
char serial_number [32]
 
char type [32]
 
char oem_info [32]
 
int state
 
int power_unit
 
unsigned long flags
 
struct acpi_sbssbs
 
char name [8]
 
char manufacturer_name [ACPI_SBS_BLOCK_MAX]
 
char device_name [ACPI_SBS_BLOCK_MAX]
 
char device_chemistry [ACPI_SBS_BLOCK_MAX]
 
u16 alarm_capacity
 
u16 full_charge_capacity
 
u16 design_capacity
 
u16 design_voltage
 
u16 serial_number
 
u16 cycle_count
 
u16 temp_now
 
u16 voltage_now
 
s16 rate_now
 
s16 rate_avg
 
u16 capacity_now
 
u16 state_of_charge
 
u16 state
 
u16 mode
 
u16 spec
 
u8 id
 
u8 present:1
 
u8 have_sysfs_alarm:1
 

Detailed Description

Definition at line 113 of file battery.c.

Field Documentation

Definition at line 137 of file battery.c.

u16 alarm_capacity

Definition at line 95 of file sbs.c.

Definition at line 116 of file battery.c.

int capacity_granularity_1

Definition at line 135 of file battery.c.

int capacity_granularity_2

Definition at line 136 of file battery.c.

u16 capacity_now

Definition at line 105 of file sbs.c.

int capacity_now

Definition at line 121 of file battery.c.

u16 cycle_count

Definition at line 100 of file sbs.c.

int cycle_count

Definition at line 129 of file battery.c.

u16 design_capacity

Definition at line 97 of file sbs.c.

int design_capacity

Definition at line 123 of file battery.c.

int design_capacity_low

Definition at line 128 of file battery.c.

int design_capacity_warning

Definition at line 127 of file battery.c.

u16 design_voltage

Definition at line 98 of file sbs.c.

int design_voltage

Definition at line 126 of file battery.c.

struct acpi_device* device

Definition at line 117 of file battery.c.

char device_chemistry[ACPI_SBS_BLOCK_MAX]

Definition at line 94 of file sbs.c.

char device_name[ACPI_SBS_BLOCK_MAX]

Definition at line 93 of file sbs.c.

unsigned long flags

Definition at line 144 of file battery.c.

u16 full_charge_capacity

Definition at line 96 of file sbs.c.

int full_charge_capacity

Definition at line 124 of file battery.c.

u8 have_sysfs_alarm

Definition at line 112 of file sbs.c.

u8 id

Definition at line 110 of file sbs.c.

struct mutex lock

Definition at line 114 of file battery.c.

char manufacturer_name[ACPI_SBS_BLOCK_MAX]

Definition at line 92 of file sbs.c.

int max_averaging_interval

Definition at line 133 of file battery.c.

int max_sampling_time

Definition at line 131 of file battery.c.

int measurement_accuracy

Definition at line 130 of file battery.c.

int min_averaging_interval

Definition at line 134 of file battery.c.

int min_sampling_time

Definition at line 132 of file battery.c.

u16 mode

Definition at line 108 of file sbs.c.

char model_number[32]

Definition at line 138 of file battery.c.

char name[8]

Definition at line 91 of file sbs.c.

char oem_info[32]

Definition at line 141 of file battery.c.

Definition at line 118 of file battery.c.

int power_unit

Definition at line 143 of file battery.c.

u8 present

Definition at line 111 of file sbs.c.

s16 rate_avg

Definition at line 104 of file sbs.c.

s16 rate_now

Definition at line 103 of file sbs.c.

int rate_now

Definition at line 120 of file battery.c.

Definition at line 86 of file sbs.c.

u16 serial_number

Definition at line 99 of file sbs.c.

char serial_number[32]

Definition at line 139 of file battery.c.

u16 spec

Definition at line 109 of file sbs.c.

Definition at line 107 of file sbs.c.

Definition at line 142 of file battery.c.

u16 state_of_charge

Definition at line 106 of file sbs.c.

struct mutex sysfs_lock

Definition at line 115 of file battery.c.

int technology

Definition at line 125 of file battery.c.

u16 temp_now

Definition at line 101 of file sbs.c.

char type[32]

Definition at line 140 of file battery.c.

unsigned long update_time

Definition at line 119 of file battery.c.

u16 voltage_now

Definition at line 102 of file sbs.c.

int voltage_now

Definition at line 122 of file battery.c.


The documentation for this struct was generated from the following files: