On Mon, Sep 23, 2013 at 11:34:05PM +0530, Jenny TC wrote:
[...]
> +#define BATTID_STR_LEN               8
> +#define BATT_TEMP_NR_RNG     6
> +/* Charging Profile */
> +struct psy_ps_pse_mod_prof {
> +     /* battery id */
> +     char batt_id[BATTID_STR_LEN];
> +     /* type of battery */
> +     u16 battery_type;
> +     u16 capacity;
> +     u16 voltage_max;
> +     /* charge termination current */
> +     u16 chrg_term_mA;
> +     /* Low battery level voltage */
> +     u16 low_batt_mV;
> +     /* upper and lower temperature limits on discharging */
> +     u8 disch_tmp_ul;
> +     u8 disch_tmp_ll;
> +     /* number of temperature monitoring ranges */
> +     u16 temp_mon_ranges;
> +     struct psy_ps_temp_chg_table temp_mon_range[BATT_TEMP_NR_RNG];
> +     /* Lowest temperature supported */
> +     short int temp_low_lim;
> +} __packed;

These all seem like properties of a battery. Why the battery is not
registered with the power_supply framework?

What is PSE, by the way?

Anton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to