Package: macarer
Macarer: Carer for the battery of your important MacBookTable of ContentsWhat is it?BenefitsHow To Use1: Create the TOKEN of LINE Notify API2: Set Environment Variable (optional)3: Install or Clone Macarer4: Import and Run Macarer5: Run with the CLILicenseMore InformationWhat is it?Make your MacBook's battery condition last longer!Macareris a script created with the purpose of optimizing the battery state of MacBook.Monitor MacBook's battery status and battery life to prevent overcharged and undercharged conditions.IfMacarerdetects an overcharge and undercharge condition, it uses theLINE Notify APIto send a notification to the LINE room associated with the specified token.BenefitsTheoretically make the battery condition of the MacBook last longerEasy and intuitive configuration and operationReceive notifications onLINESchedule monitoring usingcronHow To Use1: Create the TOKEN of LINE Notify APIReadpublic documentationand create the token of LINE Notify API.Note:The tokens you create in this step are required.This token will be used to send notifications to Notify room on LINE.2: Set Environment Variable (optional)Set the token created in the above step to environment variable.exportLINE_NOTIFY_TOKEN_FOR_MACARER=0123456789abcdefghijkNote:This step is not necessary if you want to pass in the token you created as an argument.3: Install or Clone MacarerInstallpip install macarerClonegit clone https://github.com/myConsciousness/mac-battery-visitor.git4: Import and Run MacarerDefault:The default case runs in the following states.OptionValuebattery_upper_limit0.71battery_lower_limit0.31line_notify_tokenThe environment value (LINE_NOTIFY_TOKEN_FOR_MACARER)frommacarer.macarerimportMacarerMacarer().examine()With specific options:frommacarer.macarerimportMacarerMacarer(battery_upper_limit=0.65,battery_lower_limit=0.21,line_notify_token='0123456789abcdefghijk').examine()5: Run with the CLIDefault:The default case runs in the following states.OptionValuebattery_upper_limit0.71battery_lower_limit0.31line_notify_tokenThe environment value (LINE_NOTIFY_TOKEN_FOR_MACARER)macarerWith specific options:macarerupper_limit=0.65,lower_limit=0.21,line_notify_token=0123456789abcdefghijkNote:With specific options, the above format is required.LicenseCopyright 2020 Kato Shinya.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
in compliance with the License. You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License
is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied. See the License for the specific language governing permissions and limitations under
the License.More InformationMacarerwas designed and implemented by Kato Shinya, who works as a freelance developer.Regardless of the means or content of communication, I would love to hear from you if you have any questions or concerns. I do not check my email box very often so a response may be delayed, anyway thank you for your interest!Creator ProfileCreator WebsiteLicensePyPiRelease NoteFile a Bug