From 4981cd9e8205cb8b91430c12727ea298c0f9536c Mon Sep 17 00:00:00 2001 From: Grzegorz Ferenc Date: Wed, 3 Jul 2024 16:39:39 +0200 Subject: [PATCH] tooltips: edit tooltip style and formatting Edited style and formatting and tooltips for consistency. NCD-684. Signed-off-by: Grzegorz Ferenc --- .../FuelGauge/SlotSelectionDownloadDialog.tsx | 6 +- .../npm/npm1300/documentationPmic1300.tsx | 68 ++++++++++--------- 2 files changed, 39 insertions(+), 35 deletions(-) diff --git a/src/components/FuelGauge/SlotSelectionDownloadDialog.tsx b/src/components/FuelGauge/SlotSelectionDownloadDialog.tsx index 2c517c4c..3750a26a 100644 --- a/src/components/FuelGauge/SlotSelectionDownloadDialog.tsx +++ b/src/components/FuelGauge/SlotSelectionDownloadDialog.tsx @@ -82,12 +82,12 @@ export default () => { >

- {`This will write a new battery model to the nPM Controller which + {`You are about to write a new battery model to the nPM Controller that is running the Fuel Gauge algorithm in nPM PowerUP, and make it - available in the "Active Battery Model" dropdown.`} + available in the Active Battery Model drop-down menu.`}

- There are 3 available battery model slots in the nPM + Select one of the available battery model slots in the nPM Controller.

Select the battery model you want to use for Fuel Gauge - in nPM PowerUP. To add new battery models, use the Add - New Active Battery Model selection below. You can use - the default battery model for initial evaluation, but - this will not give the best state-of-charge accuracy. + in nPM PowerUP. To add new battery models, use the{' '} + Add New Active Battery Model drop-down menu + below. You can use the default battery model for initial + evaluation, but this will not give the best + state-of-charge accuracy.

, ], }, @@ -1133,14 +1134,16 @@ export const documentation: Documentation = { title: 'Add New Active Battery Model', content: [

- Nordic has profiled batteries from selected vendors. - Choose a model from the drop-down menus below to add it - to the Active Battery Model selection. + Nordic Semiconductor has profiled batteries from + selected vendors. Choose a model from the drop-down + menus below to add it to the Active Battery Model{' '} + selection.

,

You can also add your own custom battery model. If your - battery is not listed, click Profile Battery to create a - new battery model. + battery is not listed, click Profile Battery to + create a new battery model and then add it using this + menu.

,

For quick evaluation, you can also use one of the @@ -1160,20 +1163,21 @@ export const documentation: Documentation = { estimation across voltage, current, and temperature range for the specific battery used. The result of the battery profiling is a battery model. To evaluate the - battery model in nPM PowerUP, use the 'Write Battery - Model' option to upload the battery model .json file. To + custom battery model in nPM PowerUP, select the battery + model in

Add New Active Battery Model

and write + its JSON file to the selected battery model slot. To continue development and implementation on your own - design, use the battery model .inc file. See the NCS - documentation for more details: `} + design, use the battery model INC file. See the + following page for more details: `}

,

- An additional board, nPM-FG, is required to perform - battery profiling. This must be connected to EK before - battery profiling is started. + An additional board, nPM Fuel Gauge, is required to + perform the battery profiling. This board must be + connected to EK before battery profiling is started.

, ], }, @@ -1184,17 +1188,17 @@ export const documentation: Documentation = { content: [

Exports the nPM1300 configuration based on the nPM - PowerUP settings. Choose .overlay to export to a nRF - Connect SDK project, or .json to save the nPM PowerUP - configuration for later use in nPM PowerUP using the - "Load Configuration" option. + PowerUP settings. Choose the overlay format to export to + a project in the nRF Connect SDK, or JSON to save the + configuration for later use in nPM PowerUP ("Load + Configuration" option).

,

- For more details on how to import the overlay file to - the nRF Connect SDK, see{' '} + For more details about importing to the nRF Connect SDK, + see{' '}

, ], @@ -1205,8 +1209,8 @@ export const documentation: Documentation = { title: 'Load Configuration', content: [

- Loads a saved nPM PowerUP configuration and updates all - device configurations accordingly. + Loads a saved nPM PowerUP configuration from a JSON file + and updates all device configurations accordingly.

, ], }, @@ -1227,7 +1231,7 @@ export const documentation: Documentation = { title: 'Record Events', content: [

- Records all terminal log events in CSV files, including + Saves all terminal log events to CSV files, including commands executed, battery voltage, current temperature, voltage, state-of-charge, time to empty, and time to full. @@ -1265,14 +1269,14 @@ export const documentation: Documentation = { content: [

The battery profiling temperatures. Supported - remperatures range from 0°C to 60°C, in steps of 1°C. + temperatures range from 0°C to 60°C, in steps of 1°C.

,

{' '} - We recommend profiling at three temperatures for best + Profile at three different temperatures for best state-of-charge accuracy. For example, if your - application temperature range is 5°C to 45°C, we - recommend profiling at 5°C, 25°C, and 45°C. + application temperature range is 5°C to 45°C, set + profiling at 5°C, 25°C, and 45°C.

, ], },