react-native-battery-save-mode

React Native module for checking battery save mode status on android

Usage no npm install needed!

<script type="module">
  import reactNativeBatterySaveMode from 'https://cdn.skypack.dev/react-native-battery-save-mode';
</script>

README

CheckBatterySaveMode

React Native module for checking battery save mode status on android

Example

import CheckBatterySaveMode from 'react-native-battery-save-mode';
...

CheckBatterySaveMode.isPowerSaveModeEnabled((status) => {

}, (err) => {

});

...