This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Custom Scatter file for xaga | |
based on xaga_global_images_OS1.0.2.0.ULOMIXM_20240618.0000.00_14.0_global_9e9e252786.tgz | |
Changes over the normal one: | |
> Disables the preloader flash option by default | |
> Flash on both {_a/_b} slots | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /vendor/bin/sh | |
# Copyright (C) 2023 Giovanni Ricca | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
# vars | |
BATTERY_LEVEL_NODE="/sys/class/power_supply/battery/capacity" | |
TIME_TO_FULL_NODE="/sys/class/power_supply/battery/time_to_full_now" | |
POWER_NOW_NODE="/sys/class/power_supply/battery/power_now" | |
CURRENT_NOW_NODE="/sys/class/power_supply/battery/current_now" | |
OUTPUT_FILE="battery_chart.txt" |