| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 26-Sep-2023 | - | ||||
| android/ | H | 26-Sep-2023 | - | 639 | 499 | |
| build/ | H | 26-Sep-2023 | - | 587 | 235 | |
| ios/ | H | 26-Sep-2023 | - | 132 | 105 | |
| src/ | H | 26-Sep-2023 | - | 471 | 226 | |
| .eslintrc.js | H A D | 26-Sep-2023 | 103 | 3 | 1 | |
| .npmignore | H A D | 26-Sep-2023 | 183 | 12 | 8 | |
| CHANGELOG.md | H A D | 26-Sep-2023 | 5.8 KiB | 164 | 83 | |
| README.md | H A D | 26-Sep-2023 | 1.1 KiB | 33 | 21 | |
| babel.config.js | H A D | 26-Sep-2023 | 104 | 3 | 1 | |
| expo-module.config.json | H A D | 26-Sep-2023 | 194 | 11 | 10 | |
| package.json | H A D | 26-Sep-2023 | 1 KiB | 40 | 39 | |
| tsconfig.json | H A D | 26-Sep-2023 | 217 | 10 | 9 |
README.md
1<p> 2 <a href="https://docs.expo.dev/versions/latest/sdk/battery/"> 3 <img 4 src="../../.github/resources/expo-battery.svg" 5 alt="expo-battery" 6 height="64" /> 7 </a> 8</p> 9 10Provide battery information for the physical device. 11 12# API documentation 13 14- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/battery.mdx) 15 16# Installation in managed Expo projects 17 18For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/battery/). 19 20# Installation in bare React Native projects 21 22For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing. 23 24### Add the package to your npm dependencies 25 26``` 27npx expo install expo-battery 28``` 29 30# Contributing 31 32Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing). 33