sb_full_soc.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * sb_full_soc.h
  3. * Samsung Mobile Battery Full SoC Header
  4. *
  5. * Copyright (C) 2023 Samsung Electronics, Inc.
  6. *
  7. *
  8. * This software is licensed under the terms of the GNU General Public
  9. * License version 2, as published by the Free Software Foundation, and
  10. * may be copied, distributed, and modified under those terms.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. */
  18. #ifndef __SB_FULL_SOC_H
  19. #define __SB_FULL_SOC_H __FILE__
  20. struct sec_battery_info;
  21. struct sb_full_soc;
  22. int get_full_capacity(struct sb_full_soc *fs);
  23. bool is_full_capacity(struct sb_full_soc *fs);
  24. bool is_eu_eco_rechg(struct sb_full_soc *fs);
  25. bool check_eu_eco_full_status(struct sec_battery_info *battery);
  26. bool check_eu_eco_rechg_ui_condition(struct sec_battery_info *battery);
  27. void sec_bat_recov_full_capacity(struct sec_battery_info *battery);
  28. void sec_bat_check_full_capacity(struct sec_battery_info *battery);
  29. int sb_full_soc_init(struct sec_battery_info *battery);
  30. #endif /* __SB_FULL_SOC_H */