Previously in such a case uevent generation would have been aborted with an error. Views Read View source View history. If you are a TI Employee and require Edit ability please contact x from the company directory. Two more patches were added to the series: These were ignored anyway when comparing two battery states and since their register is not shared between different properties we gain nothing by caching them. Article This patch series contains a few updates for the bq27x00 driver:
|Date Added:||20 April 2018|
|File Size:||34.29 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
New Properties, fixes, bq support Date: This page has been accessed 4, times.
Linux/Android Software Solutions for TI Single-cell Gas Gauges – Texas Instruments Wiki
The driver does not have a mechanism to save and restore Ra linuux and Qmax as suggested in the Quick Start Guide of bqxx devices. The registers to initialized in the DM may be specified in the code in an array like this:. However, more features will be added in the future.
Add type property bq27x Look for an array like this:. Currently it supports only bqfs flashing. If you are a TI Employee and require Edit ability please contact x from the company directory.
/sys/class/power_supply/bq/capacity changed meaning between and ? – Patchwork
Poll battery state bq27x Article This patch series contains a linuux updates for the bq27x00 driver: These were ignored anyway when comparing two battery states and since their register is not shared between different properties we gain nothing by caching them. Using two transfers was kind of racy and caused wrong results to be returned sometimes. The list of devices currently supported can be found in the driver.
This means it will reload default values every time the battery is inserted.
CONFIG_BATTERY_BQ27x00: BQ27200 battery driver
Please note as of Wednesday, August 15th, this wiki has been set to read only. File IO is not supported in the kernel, so this will have to be done from the user-land. In some versions of Android, Bionic’s include folder doesn’t contain “i2c-dev.
Previously in such a case uevent generation would have been aborted with an error. Prepare code for addition of bq platform driver bq27x Although bqtool is created for Android it can be easily ported for any Linux system.
The polling happens along with the polling of other parameters such as CurrentSOC etc and the period for this polling loop is customizable. This series has so far been tested with the bq and the bq battery, but not with the bq battery, so it would be nice if somebody with a board containing such bs27200 battery could test the patches to make sure that there are no regressions.
Tue, 22 Feb Give more specific reports on battery status bq27x Add bq support bq27x This page was last modified on 9 Octoberat If you are building bqtool using Android build system as above here is a caveat. Add new properties bq27x Navigation menu Personal tools Log in Request account. Replace “bqxx” in this example with the correct device for your platform. This series is also available at git: On the other hand it allows the property to be queried bq227200 a higher rate then the caching time.
Retrieved from ” http: Improve temperature property precession bq27x